in reply to Re: Regex Question
in thread Regex Question
$field =~ s/ (?<!C(?=.O)) # Look back a character and make sure it's not C-some +thing-O from there (?<!\d(?=.\d)) # Make sure it's also not a digit-something-digit (?:\\|\/) # The something is a slash or backslash / & /xgi;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regex Question
by Aristotle (Chancellor) on Nov 15, 2005 at 19:58 UTC | |
by Roy Johnson (Monsignor) on Nov 15, 2005 at 20:23 UTC | |
by shemp (Deacon) on Nov 15, 2005 at 20:07 UTC |