Click here to Skip to main content
15,507,526 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
QuestionSplitting with optionally second line Pin
G-Team2329-Sep-22 3:47
G-Team2329-Sep-22 3:47 
AnswerRe: Splitting with optionally second line Pin
Richard Deeming29-Sep-22 4:11
mveRichard Deeming29-Sep-22 4:11 
GeneralRe: Splitting with optionally second line Pin
G-Team2330-Sep-22 1:19
G-Team2330-Sep-22 1:19 
QuestionIs there a way to come up with a regular expression for this? Pin
fame_crane23-Sep-22 5:28
fame_crane23-Sep-22 5:28 
AnswerRe: Is there a way to come up with a regular expression for this? Pin
Gerry Schmitz23-Sep-22 6:56
mveGerry Schmitz23-Sep-22 6:56 
Questionremove parenthese from function like string Pin
Michael Eckstein17-Sep-22 9:56
Michael Eckstein17-Sep-22 9:56 
AnswerRe: remove parenthese from function like string Pin
moxol17-Sep-22 11:43
moxol17-Sep-22 11:43 
GeneralRe: remove parenthese from function like string Pin
Michael Eckstein18-Sep-22 5:55
Michael Eckstein18-Sep-22 5:55 
By whatever1 and whatever2 I meant that these strings are arbitrary, not just exactly whatever1(2).
So it should work both for

__X(" (Joe)") John __X("Silver") Doe

with the result

" (Joe)" John "Silver" Doe

and

__X(" (Jane)") Michael J. __X("Frank Sinatra") Fox

with the result

" (Jane)" Michael J. "Frank Sinatra" Fox

I'd be happy even with replacing

__X(" (Joe)") John was there
for
" (Joe)" John was there
GeneralRe: remove parenthese from function like string Pin
moxol18-Sep-22 8:28
moxol18-Sep-22 8:28 
GeneralRe: remove parenthese from function like string Pin
Michael Eckstein18-Sep-22 9:01
Michael Eckstein18-Sep-22 9:01 
GeneralRe: remove parenthese from function like string Pin
moxol18-Sep-22 10:19
moxol18-Sep-22 10:19 
GeneralRe: remove parenthese from function like string Pin
Michael Eckstein18-Sep-22 21:22
Michael Eckstein18-Sep-22 21:22 
QuestionRegex to find out length Pin
RanCohen16-Aug-22 0:50
RanCohen16-Aug-22 0:50 
AnswerRe: Regex to find out length Pin
Richard Deeming16-Aug-22 1:14
mveRichard Deeming16-Aug-22 1:14 
AnswerRe: Regex to find out length Pin
Graham Breach16-Aug-22 3:12
Graham Breach16-Aug-22 3:12 
QuestionNon Zero Number Pin
cad-one26-Jul-22 9:11
cad-one26-Jul-22 9:11 
AnswerRe: Non Zero Number Pin
k505426-Jul-22 11:46
mvek505426-Jul-22 11:46 
GeneralRe: Non Zero Number Pin
cad-one26-Jul-22 12:09
cad-one26-Jul-22 12:09 
QuestionRegex before match Pin
moxol20-Jul-22 23:09
moxol20-Jul-22 23:09 
AnswerRe: Regex before match Pin
Peter_in_278021-Jul-22 2:31
professionalPeter_in_278021-Jul-22 2:31 
GeneralRe: Regex before match Pin
moxol21-Jul-22 3:00
moxol21-Jul-22 3:00 
GeneralRe: Regex before match Pin
jsc4221-Jul-22 3:56
professionaljsc4221-Jul-22 3:56 
GeneralRe: Regex before match Pin
moxol21-Jul-22 4:55
moxol21-Jul-22 4:55 
QuestionPerl regex anchor merely matches at the position of the end of previous match period Pin
marbooth18-Jul-22 7:23
marbooth18-Jul-22 7:23 
AnswerRe: Perl regex anchor merely matches at the position of the end of previous match period Pin
marbooth18-Jul-22 18:18
marbooth18-Jul-22 18:18 

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.