I need help with regular expression for a javascript I'm working on. I have some html code into a variable that is named xmlDoc. The string includes a table and there are some things there that I want to pick out with regex.
6
Prentice, Bob
340584305858
Logged out
[Edit](javascript:doEditAgent("56746")),
[Delete](javascript:doRemoveAgent("56746", "fn1")),
[Log in](javascript:doLoginLogout("4", "56746","fn1"))
In this code I want to pick out: 1. The name, "Prentice, Bob" 2. The status, "Logged out" 3. The content from doLoginLogout(), "4", "56746","fn1" What pattern(s) should I use? There are five rows similar to this in the table that I need to do this on.