orthanc has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks
Another annoying which needs some help !
I've got a string which is
blah blah (name 1, name 2, name 3 and name 4), blah blah (name 1, name 2, name 3 and name 4)I need a regex which will catch all the commas within () but not the comma outside also this string could be repeated N times.
Hope u ppl can shed some light on the problem,
Thx Monks, Orthanc
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Regex substitution
by merlyn (Sage) on Sep 09, 2000 at 19:56 UTC | |
by swiftone (Curate) on Sep 11, 2000 at 08:26 UTC | |
Re: Regex substitution
by tye (Sage) on Sep 09, 2000 at 20:16 UTC | |
Re: Regex substitution
by orthanc (Monk) on Sep 09, 2000 at 20:07 UTC | |
Re: Regex substitution
by orthanc (Monk) on Sep 09, 2000 at 20:53 UTC | |
by merlyn (Sage) on Sep 09, 2000 at 20:57 UTC | |
Re: Regex substitution
by orthanc (Monk) on Sep 09, 2000 at 21:03 UTC | |
Re: Regex substitution
by orthanc (Monk) on Sep 09, 2000 at 20:24 UTC | |
by merlyn (Sage) on Sep 09, 2000 at 20:45 UTC |