[thelist] simple .NET regex problem
Scott Dexter
dexilalolai at yahoo.com
Thu Jun 28 08:58:28 CDT 2007
Thanks Anthony, I owe you a beer--
sgd
----- Original Message ----
From: Anthony Baratta <anthony at baratta.com>
Because I'm a glutton for punishment...here is an improved regex that
only returns the target text area:
(?<=(text%3D'))(.[^']*)(?=')
[0] run-on sentence
Anthony Baratta wrote:
> Here ya go....
>
> text%3D'(.[^']*)'
>
> This will return:
>
> [0] text%3D'run-on sentence'
>
> [1] run-on sentence
More information about the thelist
mailing list