Jun 25, 2010, 11:29 AM
Post #1 of 2
Help with regex, not seeing \s!
New to the forums and to Perl (and regex) so hello! I am trying to write a script that reformats names of conferences for a database. I am having some problems with the regex below
I want it to match for " symposium on testing" for example, but occasionally the titles have "(formerly - workshop on old testing)" at the end and that is matching when I don't want it to.
I can get it to match "symposium on" with no problem and even not match with formerly -workshop (no space between - and workshop) but whenever I put a last \s after formerly, it matches even when it shouldn't!
Please help, thanks
edit: sorry didn't see the regex forum!
(This post was edited by AKiss20 on Jun 25, 2010, 11:33 AM)