Click here to Skip to main content
15,879,535 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
GeneralRe: Can anybody explain how this Regex works. Pin
Andreas Gieriet8-Apr-12 1:02
professionalAndreas Gieriet8-Apr-12 1:02 
AnswerRe: Can anybody explain how this Regex works. Pin
Andreas Gieriet7-Apr-12 12:06
professionalAndreas Gieriet7-Apr-12 12:06 
QuestionUrl rewriting rule Pin
Gaurav Goel (Team Lead)13-Sep-11 0:18
professionalGaurav Goel (Team Lead)13-Sep-11 0:18 
AnswerRe: Url rewriting rule Pin
Shahriar Iqbal Chowdhury/Galib24-Sep-11 11:00
professionalShahriar Iqbal Chowdhury/Galib24-Sep-11 11:00 
AnswerRe: Url rewriting rule Pin
AspDotNetDev24-Sep-11 11:37
protectorAspDotNetDev24-Sep-11 11:37 
QuestionRegular expression to check special character Pin
sri_34648-Sep-11 11:16
sri_34648-Sep-11 11:16 
AnswerRe: Regular expression to check special character Pin
Mizard X25-Sep-11 0:06
Mizard X25-Sep-11 0:06 
QuestionHelp with pattern Pin
Phrone7-Sep-11 20:25
Phrone7-Sep-11 20: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 19:10
professionalthatraja28-Nov-11 19:10 
QuestionWhat is the Regular expression that detects a $ sign and digits in html code Pin
Member 82168286-Sep-11 7:49
Member 82168286-Sep-11 7:49 
AnswerRe: What is the Regular expression that detects a $ sign and digits in html code [modified] Pin
Paladin20006-Sep-11 10:54
Paladin20006-Sep-11 10:54 
GeneralRe: What is the Regular expression that detects a $ sign and digits in html code Pin
Member 82168287-Sep-11 5:20
Member 82168287-Sep-11 5:20 
GeneralRe: What is the Regular expression that detects a $ sign and digits in html code Pin
Paladin20007-Sep-11 5:27
Paladin20007-Sep-11 5:27 
GeneralRe: What is the Regular expression that detects a $ sign and digits in html code Pin
Member 82168287-Sep-11 8:48
Member 82168287-Sep-11 8:48 
GeneralRe: What is the Regular expression that detects a $ sign and digits in html code Pin
Pete O'Hanlon7-Sep-11 5:38
mvePete O'Hanlon7-Sep-11 5:38 
AnswerRe: What is the Regular expression that detects a $ sign and digits in html code Pin
jschell7-Sep-11 8:32
jschell7-Sep-11 8:32 
QuestionRegular Expression Pin
Morgs Morgan11-Jul-11 22:07
Morgs Morgan11-Jul-11 22:07 
AnswerRe: Regular Expression Pin
Firo Atrum Ventus11-Jul-11 22:31
Firo Atrum Ventus11-Jul-11 22:31 
GeneralRe: Regular Expression Pin
Morgs Morgan11-Jul-11 23:09
Morgs Morgan11-Jul-11 23:09 
GeneralRe: Regular Expression Pin
PIEBALDconsult17-Jul-11 5:55
mvePIEBALDconsult17-Jul-11 5:55 
AnswerRe: Regular Expression [modified] Pin
PIEBALDconsult17-Jul-11 7:02
mvePIEBALDconsult17-Jul-11 7:02 
AnswerRe: Regular Expression Pin
JimmyRopes13-Aug-11 11:57
professionalJimmyRopes13-Aug-11 11:57 
AnswerRe: Regular Expression [modified] Pin
Shahan Ayyub23-Aug-11 11:00
Shahan Ayyub23-Aug-11 11:00 
QuestionValue between brackets with a sperator character [modified] Pin
Groulien26-May-11 2:27
Groulien26-May-11 2:27 
AnswerRe: Value between brackets with a sperator character Pin
Groulien26-May-11 3:28
Groulien26-May-11 3: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.