Click here to Skip to main content
11,428,497 members (63,954 online)

Regular Expressions

 
GeneralRe: Can anybody explain how this Regex works. Pin
Andreas Gieriet8-Apr-12 2:02
memberAndreas Gieriet8-Apr-12 2:02 
AnswerRe: Can anybody explain how this Regex works. [modified] Pin
Andreas Gieriet7-Apr-12 13:06
memberAndreas Gieriet7-Apr-12 13:06 
QuestionUrl rewriting rule Pin
Gaurav.goel20913-Sep-11 1:18
memberGaurav.goel20913-Sep-11 1:18 
AnswerRe: Url rewriting rule Pin
Shahriar Iqbal Chowdhury24-Sep-11 12:00
memberShahriar Iqbal Chowdhury24-Sep-11 12:00 
AnswerRe: Url rewriting rule Pin
AspDotNetDev24-Sep-11 12:37
mvpAspDotNetDev24-Sep-11 12:37 
QuestionRegular expression to check special character Pin
sri_34648-Sep-11 12:16
membersri_34648-Sep-11 12:16 
AnswerRe: Regular expression to check special character Pin
Mizard X25-Sep-11 1:06
memberMizard X25-Sep-11 1:06 
QuestionHelp with pattern Pin
Phrone7-Sep-11 21:25
memberPhrone7-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.
<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
mvpthatraja28-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
memberMember 82168286-Sep-11 8:49 
AnswerRe: What is the Regular expression that detects a $ sign and digits in html code [modified] Pin
Timothy CIAN6-Sep-11 11:54
memberTimothy CIAN6-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
memberMember 82168287-Sep-11 6:20 
GeneralRe: What is the Regular expression that detects a $ sign and digits in html code Pin
Timothy CIAN7-Sep-11 6:27
memberTimothy CIAN7-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
memberMember 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
protectorPete 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
memberjschell7-Sep-11 9:32 
QuestionRegular Expression Pin
MorgSim11-Jul-11 23:07
memberMorgSim11-Jul-11 23:07 
AnswerRe: Regular Expression Pin
Firo Atrum Ventus11-Jul-11 23:31
memberFiro Atrum Ventus11-Jul-11 23:31 
GeneralRe: Regular Expression Pin
MorgSim12-Jul-11 0:09
memberMorgSim12-Jul-11 0:09 
GeneralRe: Regular Expression Pin
PIEBALDconsult17-Jul-11 6:55
memberPIEBALDconsult17-Jul-11 6:55 
AnswerRe: Regular Expression [modified] Pin
PIEBALDconsult17-Jul-11 8:02
memberPIEBALDconsult17-Jul-11 8:02 
AnswerRe: Regular Expression Pin
JimmyRopes13-Aug-11 12:57
memberJimmyRopes13-Aug-11 12:57 
AnswerRe: Regular Expression [modified] Pin
Shahan Ayyub23-Aug-11 12:00
memberShahan Ayyub23-Aug-11 12:00 
QuestionValue between brackets with a sperator character [modified] Pin
nbgangsta26-May-11 3:27
membernbgangsta26-May-11 3:27 
AnswerRe: Value between brackets with a sperator character Pin
nbgangsta26-May-11 4:28
membernbgangsta26-May-11 4:28 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.150428.2 | Last Updated 2 Mar 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid