Click here to Skip to main content
15,845,308 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
GeneralRe: regex code assistance for entering 600 in a input field Pin
Richard MacCutchan22-Jun-22 23:08
mveRichard MacCutchan22-Jun-22 23:08 
QuestionPattern Check Match Pin
Member 1567083112-Jun-22 5:17
Member 1567083112-Jun-22 5:17 
AnswerRe: Pattern Check Match Pin
Peter_in_278012-Jun-22 6:05
professionalPeter_in_278012-Jun-22 6:05 
GeneralRe: Pattern Check Match Pin
Member 1567083112-Jun-22 7:22
Member 1567083112-Jun-22 7:22 
AnswerRe: Pattern Check Match Pin
OriginalGriff12-Jun-22 7:23
mveOriginalGriff12-Jun-22 7:23 
GeneralRe: Pattern Check Match Pin
Member 1567083112-Jun-22 8:38
Member 1567083112-Jun-22 8:38 
GeneralRe: Pattern Check Match Pin
Member 1567083112-Jun-22 9:13
Member 1567083112-Jun-22 9:13 
GeneralRe: Pattern Check Match Pin
Member 1567083112-Jun-22 8:32
Member 1567083112-Jun-22 8:32 
Peter, I was too hasty again.
The problem is:
This is supposed to match: Joe.Jone2
Not supposed to match: Joe.Jone222

I am using: [A-Za-z]'+'[\.]' + '[A-Za-z]+[A-Za-z0-9]?[0-9] Matches Joe.Jone2 Also Matches Joe.Jones22
Prolem is, it also matches Joe.Jones222
Only the last two may be numeric.

Examples of good ones:
Joe.Jones1
Joe.Jones01
J.J1
j.j99
jo.jn01
jo.j1

Examples of ones that I do not want to match, Bad ones:
Joe.Jones222
Joe2.Jones1
Joe.2Jones01

I am testing/playing with: [A-Za-z]'+'[\.]' + '[A-Za-z]'+'[A-Za-z0-9]?[0-9]
GeneralRe: Pattern Check Match Pin
Member 1567083112-Jun-22 12:49
Member 1567083112-Jun-22 12:49 
AnswerRe: Pattern Check Match Pin
Peter_in_278012-Jun-22 13:36
professionalPeter_in_278012-Jun-22 13:36 
GeneralRe: Pattern Check Match Pin
Member 1567083112-Jun-22 14:46
Member 1567083112-Jun-22 14:46 
GeneralRe: Pattern Check Match Pin
Peter_in_278012-Jun-22 16:42
professionalPeter_in_278012-Jun-22 16:42 
AnswerRe: Pattern Check Match Pin
Member 1311558125-Sep-23 17:07
Member 1311558125-Sep-23 17:07 
QuestionAdresse erfassen mittels RegEx Pin
Member 156568991-Jun-22 4:26
Member 156568991-Jun-22 4:26 
AnswerRe: Adresse erfassen mittels RegEx Pin
OriginalGriff1-Jun-22 2:53
mveOriginalGriff1-Jun-22 2:53 
GeneralRe: Adresse erfassen mittels RegEx Pin
Member 156568991-Jun-22 12:39
Member 156568991-Jun-22 12:39 
GeneralRe: Adresse erfassen mittels RegEx Pin
OriginalGriff1-Jun-22 19:59
mveOriginalGriff1-Jun-22 19:59 
AnswerRe: Adresse erfassen mittels RegEx Pin
Richard MacCutchan1-Jun-22 23:01
mveRichard MacCutchan1-Jun-22 23:01 
GeneralRe: Adresse erfassen mittels RegEx Pin
Member 156568992-Jun-22 11:20
Member 156568992-Jun-22 11:20 
Questionget parent LDAP DN - regex Pin
nExoR LU13-May-22 6:12
nExoR LU13-May-22 6:12 
AnswerRe: get parent LDAP DN - regex Pin
Richard Deeming15-May-22 22:40
mveRichard Deeming15-May-22 22:40 
GeneralRe: get parent LDAP DN - regex Pin
nExoR LU15-May-22 22:47
nExoR LU15-May-22 22:47 
QuestionRegular Expressions RegEx - Wildcards for route patterns Pin
Member 1563258311-May-22 7:05
Member 1563258311-May-22 7:05 
QuestionDoubt in Regular Expression Pin
Member 156250644-May-22 21:09
Member 156250644-May-22 21:09 
AnswerRe: Doubt in Regular Expression Pin
Richard Deeming4-May-22 22:17
mveRichard Deeming4-May-22 22:17 

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.