Click here to Skip to main content
15,867,330 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
GeneralRe: Regex before match Pin
moxol21-Jul-22 2:00
moxol21-Jul-22 2:00 
GeneralRe: Regex before match Pin
jsc4221-Jul-22 2:56
professionaljsc4221-Jul-22 2:56 
GeneralRe: Regex before match Pin
moxol21-Jul-22 3:55
moxol21-Jul-22 3:55 
QuestionPerl regex anchor merely matches at the position of the end of previous match period Pin
marbooth18-Jul-22 6:23
marbooth18-Jul-22 6:23 
AnswerRe: Perl regex anchor merely matches at the position of the end of previous match period Pin
marbooth18-Jul-22 17:18
marbooth18-Jul-22 17:18 
GeneralRe: Perl regex anchor merely matches at the position of the end of previous match period Pin
RedDk20-Jul-22 6:23
RedDk20-Jul-22 6:23 
QuestionIsn't ?= needless? Pin
Member 1570882016-Jul-22 22:38
Member 1570882016-Jul-22 22:38 
AnswerRe: Isn't ?= needless? Pin
Dave Kreskowiak17-Jul-22 6:28
mveDave Kreskowiak17-Jul-22 6:28 
GeneralRe: Isn't ?= needless? Pin
Member 1570882019-Jul-22 21:48
Member 1570882019-Jul-22 21:48 
GeneralRe: Isn't ?= needless? Pin
Dave Kreskowiak20-Jul-22 3:41
mveDave Kreskowiak20-Jul-22 3:41 
Questionregex code assistance for entering 600 in a input field Pin
Member 1568365422-Jun-22 4:13
Member 1568365422-Jun-22 4:13 
QuestionRe: regex code assistance for entering 600 in a input field Pin
Richard MacCutchan22-Jun-22 5:39
mveRichard MacCutchan22-Jun-22 5:39 
AnswerRe: regex code assistance for entering 600 in a input field Pin
Member 1568365422-Jun-22 6:08
Member 1568365422-Jun-22 6:08 
GeneralRe: regex code assistance for entering 600 in a input field Pin
Richard MacCutchan22-Jun-22 6:49
mveRichard MacCutchan22-Jun-22 6:49 
GeneralRe: regex code assistance for entering 600 in a input field Pin
Member 1568365422-Jun-22 6:58
Member 1568365422-Jun-22 6:58 
GeneralRe: regex code assistance for entering 600 in a input field Pin
Richard Deeming22-Jun-22 21:52
mveRichard Deeming22-Jun-22 21:52 
GeneralRe: regex code assistance for entering 600 in a input field Pin
Richard MacCutchan22-Jun-22 22:08
mveRichard MacCutchan22-Jun-22 22:08 
QuestionPattern Check Match Pin
Member 1567083112-Jun-22 4:17
Member 1567083112-Jun-22 4:17 
AnswerRe: Pattern Check Match Pin
Peter_in_278012-Jun-22 5:05
professionalPeter_in_278012-Jun-22 5:05 
GeneralRe: Pattern Check Match Pin
Member 1567083112-Jun-22 6:22
Member 1567083112-Jun-22 6:22 
AnswerRe: Pattern Check Match Pin
OriginalGriff12-Jun-22 6:23
mveOriginalGriff12-Jun-22 6:23 
GeneralRe: Pattern Check Match Pin
Member 1567083112-Jun-22 7:38
Member 1567083112-Jun-22 7:38 
GeneralRe: Pattern Check Match Pin
Member 1567083112-Jun-22 8:13
Member 1567083112-Jun-22 8:13 
GeneralRe: Pattern Check Match Pin
Member 1567083112-Jun-22 7:32
Member 1567083112-Jun-22 7: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 11:49
Member 1567083112-Jun-22 11:49 

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.