Click here to Skip to main content
12,396,230 members (64,220 online)

Regular Expressions

 
QuestionWhat is the Regular expression that detects a $ sign and digits in html code Pin
Member 82168286-Sep-11 7:49
memberMember 82168286-Sep-11 7:49 
AnswerRe: What is the Regular expression that detects a $ sign and digits in html code [modified] Pin
Timothy CIAN6-Sep-11 10:54
memberTimothy CIAN6-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
memberMember 82168287-Sep-11 5:20 
GeneralRe: What is the Regular expression that detects a $ sign and digits in html code Pin
Timothy CIAN7-Sep-11 5:27
memberTimothy CIAN7-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
memberMember 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
protectorPete 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
memberjschell7-Sep-11 8:32 
QuestionRegular Expression Pin
MorgSim11-Jul-11 22:07
memberMorgSim11-Jul-11 22:07 
Hi Guys,
I have three Regex and would like to know if it's possible to combine them into one.
I'm validating phone numbers in the form:
- 0219081234
- 021 908 1234
- 021-908-1234

here are my regex for the above in order:
- var phoneRegex1 = /^(\d{3})(\d{3})(\d{4})$/;
- var phoneRegex2 = /^(\d{3})(\-)(\d{3})(\-)(\d{4})$/;
- var phoneRegex3 = /^(\d{3})(\ )(\d{3})(\ )(\d{4})$/;

Thanks in Advance,
Morgs
AnswerRe: Regular Expression Pin
Firo Atrum Ventus11-Jul-11 22:31
memberFiro Atrum Ventus11-Jul-11 22:31 
GeneralRe: Regular Expression Pin
MorgSim11-Jul-11 23:09
memberMorgSim11-Jul-11 23:09 
GeneralRe: Regular Expression Pin
PIEBALDconsult17-Jul-11 5:55
memberPIEBALDconsult17-Jul-11 5:55 
AnswerRe: Regular Expression [modified] Pin
PIEBALDconsult17-Jul-11 7:02
memberPIEBALDconsult17-Jul-11 7:02 
AnswerRe: Regular Expression Pin
JimmyRopes13-Aug-11 11:57
memberJimmyRopes13-Aug-11 11:57 
AnswerRe: Regular Expression [modified] Pin
Shahan Ayyub23-Aug-11 11:00
memberShahan Ayyub23-Aug-11 11:00 
QuestionValue between brackets with a sperator character [modified] Pin
nbgangsta26-May-11 2:27
membernbgangsta26-May-11 2:27 
AnswerRe: Value between brackets with a sperator character Pin
nbgangsta26-May-11 3:28
membernbgangsta26-May-11 3:28 
AnswerRe: Value between brackets with a sperator character Pin
Peter_in_278026-May-11 14:13
memberPeter_in_278026-May-11 14:13 
Questionarray of file extentions Pin
Ali Al Omairi(Abu AlHassan)22-May-11 20:43
memberAli Al Omairi(Abu AlHassan)22-May-11 20:43 
AnswerRe: array of file extentions PinPopular
Peter_in_278022-May-11 21:13
memberPeter_in_278022-May-11 21:13 
GeneralRe: array of file extentions Pin
Ali Al Omairi(Abu AlHassan)23-May-11 21:46
memberAli Al Omairi(Abu AlHassan)23-May-11 21:46 
GeneralRe: array of file extentions Pin
Ali Al Omairi(Abu AlHassan)2-Nov-11 23:20
memberAli Al Omairi(Abu AlHassan)2-Nov-11 23:20 
QuestionForming reguar expressions using a builder class? Pin
Naerling8-Apr-11 2:13
memberNaerling8-Apr-11 2:13 
AnswerRe: Forming reguar expressions using a builder class? Pin
Richard A. Abbott8-Apr-11 2:40
memberRichard A. Abbott8-Apr-11 2:40 
GeneralRe: Forming reguar expressions using a builder class? Pin
Naerling8-Apr-11 8:54
memberNaerling8-Apr-11 8:54 
AnswerRe: Forming reguar expressions using a builder class? Pin
PIEBALDconsult22-May-11 3:27
memberPIEBALDconsult22-May-11 3:27 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 26 May 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid