Click here to Skip to main content
15,885,244 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
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 
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
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 
AnswerRe: Value between brackets with a sperator character Pin
Peter_in_278026-May-11 14:13
professionalPeter_in_278026-May-11 14:13 
Questionarray of file extentions Pin
Ali Al Omairi(Abu AlHassan)22-May-11 20:43
professionalAli Al Omairi(Abu AlHassan)22-May-11 20:43 
AnswerRe: array of file extentions PinPopular
Peter_in_278022-May-11 21:13
professionalPeter_in_278022-May-11 21:13 
GeneralRe: array of file extentions Pin
Ali Al Omairi(Abu AlHassan)23-May-11 21:46
professionalAli 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
professionalAli Al Omairi(Abu AlHassan)2-Nov-11 23:20 
QuestionForming reguar expressions using a builder class? Pin
Sander Rossel8-Apr-11 2:13
professionalSander Rossel8-Apr-11 2:13 
AnswerRe: Forming reguar expressions using a builder class? Pin
User 17164928-Apr-11 2:40
professionalUser 17164928-Apr-11 2:40 
GeneralRe: Forming reguar expressions using a builder class? Pin
Sander Rossel8-Apr-11 8:54
professionalSander Rossel8-Apr-11 8:54 
AnswerRe: Forming reguar expressions using a builder class? Pin
PIEBALDconsult22-May-11 3:27
mvePIEBALDconsult22-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.