Click here to Skip to main content
15,561,422 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
GeneralRe: Can anybody explain how this Regex works. Pin
Andreas Gieriet8-Apr-12 2:02
professionalAndreas Gieriet8-Apr-12 2:02 
AnswerRe: Can anybody explain how this Regex works. Pin
Andreas Gieriet7-Apr-12 13:06
professionalAndreas Gieriet7-Apr-12 13:06 
QuestionUrl rewriting rule Pin
Gaurav Goel (Team Lead)13-Sep-11 1:18
professionalGaurav Goel (Team Lead)13-Sep-11 1:18 
AnswerRe: Url rewriting rule Pin
Shahriar Iqbal Chowdhury/Galib24-Sep-11 12:00
professionalShahriar Iqbal Chowdhury/Galib24-Sep-11 12:00 
AnswerRe: Url rewriting rule Pin
AspDotNetDev24-Sep-11 12:37
protectorAspDotNetDev24-Sep-11 12:37 
QuestionRegular expression to check special character Pin
sri_34648-Sep-11 12:16
sri_34648-Sep-11 12:16 
AnswerRe: Regular expression to check special character Pin
Mizard X25-Sep-11 1:06
Mizard X25-Sep-11 1:06 
QuestionHelp with pattern Pin
Phrone7-Sep-11 21:25
Phrone7-Sep-11 21:25 
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.
HTML
<tr class="myGreyRow">
<td>6</td>
<td id="fn1">Prentice, Bob</td>
<td>340584305858</td>
<td>Logged out</td>
<td>
<a class="listlink" href="javascript:doEditAgent("56746")">Edit</a>, 
							<a class="listlink" href="javascript:doRemoveAgent("56746", "fn1")">Delete</a>, 
							<a class="listlink" href="javascript:doLoginLogout("4", "56746","fn1")">Log in</a>
</td>
</tr>

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.
AnswerRe: Help with pattern Pin
thatraja28-Nov-11 20:10
professionalthatraja28-Nov-11 20:10 
QuestionWhat is the Regular expression that detects a $ sign and digits in html code Pin
Member 82168286-Sep-11 8:49
Member 82168286-Sep-11 8:49 
AnswerRe: What is the Regular expression that detects a $ sign and digits in html code [modified] Pin
Paladin20006-Sep-11 11:54
Paladin20006-Sep-11 11:54 
GeneralRe: What is the Regular expression that detects a $ sign and digits in html code Pin
Member 82168287-Sep-11 6:20
Member 82168287-Sep-11 6:20 
GeneralRe: What is the Regular expression that detects a $ sign and digits in html code Pin
Paladin20007-Sep-11 6:27
Paladin20007-Sep-11 6:27 
GeneralRe: What is the Regular expression that detects a $ sign and digits in html code Pin
Member 82168287-Sep-11 9:48
Member 82168287-Sep-11 9:48 
GeneralRe: What is the Regular expression that detects a $ sign and digits in html code Pin
Pete O'Hanlon7-Sep-11 6:38
mvaPete O'Hanlon7-Sep-11 6:38 
AnswerRe: What is the Regular expression that detects a $ sign and digits in html code Pin
jschell7-Sep-11 9:32
jschell7-Sep-11 9:32 
QuestionRegular Expression Pin
Morgs Morgan11-Jul-11 23:07
Morgs Morgan11-Jul-11 23:07 
AnswerRe: Regular Expression Pin
Firo Atrum Ventus11-Jul-11 23:31
Firo Atrum Ventus11-Jul-11 23:31 
GeneralRe: Regular Expression Pin
Morgs Morgan12-Jul-11 0:09
Morgs Morgan12-Jul-11 0:09 
GeneralRe: Regular Expression Pin
PIEBALDconsult17-Jul-11 6:55
professionalPIEBALDconsult17-Jul-11 6:55 
AnswerRe: Regular Expression [modified] Pin
PIEBALDconsult17-Jul-11 8:02
professionalPIEBALDconsult17-Jul-11 8:02 
AnswerRe: Regular Expression Pin
JimmyRopes13-Aug-11 12:57
professionalJimmyRopes13-Aug-11 12:57 
AnswerRe: Regular Expression [modified] Pin
Shahan Ayyub23-Aug-11 12:00
Shahan Ayyub23-Aug-11 12:00 
QuestionValue between brackets with a sperator character [modified] Pin
Groulien26-May-11 3:27
Groulien26-May-11 3:27 
AnswerRe: Value between brackets with a sperator character Pin
Groulien26-May-11 4:28
Groulien26-May-11 4:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.