Re: bulky regex



On Wed, Apr 27, 2005 at 01:31:08PM -0400, Jay Savage wrote:
>
> Don't make things so complicated. You want to find some words and
> replace them with nothing. You don't care where in the string the
> pattern appears. Therefore, you don't have to predict where in the

The word 'ups' is not mandatory - it might be there, might not. Also the
amount of spaces inbetween is not fixed. However what you said about me not
caring where the string is - you are right. I dropped (?:(^)|(?<=\S)) from
the front, and it produces identical results. Thanks!
.


Quantcast