in reply to Re: Regex + substring
in thread Regex + substring
Sorry I just coppied the the code without looking at the text. When "-" is encounter the output would have to be the same with just the - included i.e.
$O = "AAABBBCCCDDD"; $Mod = "BbBCc-C"; $Result = "aaaBbBCc-Cddd";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regex + substring
by AnomalousMonk (Archbishop) on Mar 27, 2012 at 16:24 UTC |