Click here to Skip to main content
15,848,558 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
AnswerRe: What is the regular expression for this string? Pin
jschell23-Mar-23 7:24
jschell23-Mar-23 7:24 
AnswerRe: Where to start - need to extract...using regular expression Pin
k505415-Mar-23 11:39
mvek505415-Mar-23 11:39 
QuestionRegular expression to return all keys in a Bibtex file Pin
Member 159423565-Mar-23 6:46
Member 159423565-Mar-23 6:46 
AnswerRe: Regular expression to return all keys in a Bibtex file Pin
Richard Deeming5-Mar-23 22:36
mveRichard Deeming5-Mar-23 22:36 
GeneralRe: Regular expression to return all keys in a Bibtex file Pin
Member 159423566-Mar-23 20:48
Member 159423566-Mar-23 20:48 
AnswerRe: Regular expression to return all keys in a Bibtex file Pin
jschell8-Mar-23 7:57
jschell8-Mar-23 7:57 
QuestionRemove all double quotes not directly preceded or directly followed by a semicolon. Pin
Guus20053-Mar-23 4:55
Guus20053-Mar-23 4:55 
AnswerRe: Remove all double quotes not directly preceded or directly followed by a semicolon. Pin
Richard Deeming3-Mar-23 5:05
mveRichard Deeming3-Mar-23 5:05 
How about using zero-width negative look-ahead/behind assertions?
RegEx
(?<!;)(?!"(;|$))"
Demo[^]



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: Remove all double quotes not directly preceded or directly followed by a semicolon. Pin
Guus20053-Mar-23 6:19
Guus20053-Mar-23 6:19 
GeneralRe: Remove all double quotes not directly preceded or directly followed by a semicolon. Pin
Richard Deeming5-Mar-23 22:27
mveRichard Deeming5-Mar-23 22:27 
AnswerRe: Remove all double quotes not directly preceded or directly followed by a semicolon. Pin
jschell6-Mar-23 7:45
jschell6-Mar-23 7:45 
Questionregex expression for us addresses Pin
jpcodex15321-Feb-23 15:55
jpcodex15321-Feb-23 15:55 
GeneralRe: regex expression for us addresses Pin
PIEBALDconsult21-Feb-23 16:02
mvePIEBALDconsult21-Feb-23 16:02 
GeneralRe: regex expression for us addresses Pin
jpcodex15321-Feb-23 16:25
jpcodex15321-Feb-23 16:25 
GeneralRe: regex expression for us addresses Pin
PIEBALDconsult21-Feb-23 16:30
mvePIEBALDconsult21-Feb-23 16:30 
GeneralRe: regex expression for us addresses Pin
Kenneth Haugland21-Feb-23 19:36
mvaKenneth Haugland21-Feb-23 19:36 
AnswerRe: regex expression for us addresses Pin
jschell22-Feb-23 7:06
jschell22-Feb-23 7:06 
GeneralRe: regex expression for us addresses Pin
trønderen22-Feb-23 13:04
trønderen22-Feb-23 13:04 
GeneralRe: regex expression for us addresses Pin
jschell23-Feb-23 7:09
jschell23-Feb-23 7:09 
GeneralWell no that isn't how it works Pin
jschell13-Feb-23 5:42
jschell13-Feb-23 5:42 
QuestionProblem combining REGEX expressions Pin
Member 156868422-Jan-23 19:40
Member 156868422-Jan-23 19:40 
AnswerRe: Problem combining REGEX expressions Pin
Member 156868423-Jan-23 4:25
Member 156868423-Jan-23 4:25 
GeneralRe: Problem combining REGEX expressions Pin
jschell24-Jan-23 11:38
jschell24-Jan-23 11:38 
Questioni need a regular expression to match a single word starting with m(...followed by any text but not space and )containing Manager Pin
anandssunku9-Jan-23 0:10
anandssunku9-Jan-23 0:10 
AnswerRe: i need a regular expression to match a single word starting with m(...followed by any text but not space and )containing Manager Pin
Richard Deeming9-Jan-23 1:07
mveRichard Deeming9-Jan-23 1:07 

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.