Click here to Skip to main content
15,949,686 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
GeneralRe: Matching Floating Point Numbers Range with a Regular Expression Pin
Dagobert19-Feb-24 10:22
Dagobert19-Feb-24 10:22 
GeneralRe: Matching Floating Point Numbers Range with a Regular Expression Pin
jschell9-Feb-24 12:37
jschell9-Feb-24 12:37 
GeneralRe: Matching Floating Point Numbers Range with a Regular Expression Pin
Richard Deeming11-Feb-24 21:47
mveRichard Deeming11-Feb-24 21:47 
AnswerRe: Matching Floating Point Numbers Range with a Regular Expression Pin
Pete O'Hanlon12-Feb-24 0:04
mvePete O'Hanlon12-Feb-24 0:04 
QuestionRegular expression for City name Pin
KiranKumar V 20247-Feb-24 19:08
KiranKumar V 20247-Feb-24 19:08 
AnswerRe: Regular expression for City name Pin
Dave Kreskowiak7-Feb-24 19:19
mveDave Kreskowiak7-Feb-24 19:19 
GeneralRe: Regular expression for City name Pin
KiranKumar V 20247-Feb-24 19:27
KiranKumar V 20247-Feb-24 19:27 
GeneralRe: Regular expression for City name Pin
Dave Kreskowiak8-Feb-24 3:18
mveDave Kreskowiak8-Feb-24 3:18 
If this is coming from an XML file, you SHOULD have fields in the XML specific to each type of name. If not, you have very badly malformed data in the file making it pretty much useless, unless there is another field in the same record telling you what type of name is in the record. Without that discriminator field, the data you're pulling from the XML is useless.

You cannot use a RegEx to distinguish between a person name and a city name in the same field. It's just not possible, even for a human to determine by hand.

GeneralRe: Regular expression for City name Pin
KiranKumar V 20248-Feb-24 3:26
KiranKumar V 20248-Feb-24 3:26 
GeneralRe: Regular expression for City name Pin
Richard Deeming8-Feb-24 3:38
mveRichard Deeming8-Feb-24 3:38 
GeneralRe: Regular expression for City name Pin
Dave Kreskowiak8-Feb-24 3:56
mveDave Kreskowiak8-Feb-24 3:56 
GeneralRe: Regular expression for City name Pin
Richard MacCutchan8-Feb-24 4:36
mveRichard MacCutchan8-Feb-24 4:36 
JokeRe: Regular expression for City name Pin
jschell8-Feb-24 4:44
jschell8-Feb-24 4:44 
GeneralRe: Regular expression for City name Pin
Dave Kreskowiak8-Feb-24 3:55
mveDave Kreskowiak8-Feb-24 3:55 
AnswerRe: Regular expression for City name Pin
k50547-Feb-24 20:02
mvek50547-Feb-24 20:02 
AnswerRe: Regular expression for City name Pin
Pete O'Hanlon8-Feb-24 4:10
mvePete O'Hanlon8-Feb-24 4:10 
AnswerRe: Regular expression for City name Pin
jschell8-Feb-24 4:58
jschell8-Feb-24 4:58 
GeneralRe: Regular expression for City name Pin
Richard Deeming8-Feb-24 5:07
mveRichard Deeming8-Feb-24 5:07 
GeneralRe: Regular expression for City name Pin
jschell9-Feb-24 12:02
jschell9-Feb-24 12:02 
QuestionDoes anyone have experience with creating the regex rule for a fail2ban filter? Pin
Member 161948782-Feb-24 4:44
Member 161948782-Feb-24 4:44 
AnswerRe: Does anyone have experience with creating the regex rule for a fail2ban filter? Pin
jschell7-Feb-24 5:38
jschell7-Feb-24 5:38 
QuestionHelp for a regexp Pin
Member 1616830421-Dec-23 23:43
Member 1616830421-Dec-23 23:43 
AnswerRe: Help for a regexp Pin
Member 1616830422-Dec-23 2:53
Member 1616830422-Dec-23 2:53 
QuestionRegex: more than one identical character next to each other? Pin
Member 1615168129-Nov-23 7:07
Member 1615168129-Nov-23 7:07 
AnswerRe: Regex: more than one identical character next to each other? Pin
Richard Deeming29-Nov-23 22:28
mveRichard Deeming29-Nov-23 22:28 

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.