[thelist] calling all regex studs

.jeff jeff at members.evolt.org
Wed Aug 22 20:42:04 CDT 2001


rory,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Rory.Plaire at wahchang.com
>
> REReplaceNoCase(mask, ',?[ ]*[y*]', '','ALL')
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

yup, worked a treat.  that was close to what i tried that didn't work

REReplaceNoCase(mask, '[,| ][y*]', '','ALL')

that's obviously not quite what i needed.

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> For the second comma, the one before the year that you
> _want_ in there, would DataFormat put it back in for
> you?
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

yes, because i'm using the mask unaltered except for the month portion which
i'm stripping (which sits before the day).

thanks again,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/






More information about the thelist mailing list