Search / replace
J. Landman Gay
jacque at hyperactivesw.com
Sat Feb 20 15:09:52 EST 2010
Mike Bonner wrote:
> If you want do the search/replace with regex, you can do similar to this..
>
> put replaceText(field "Field","(?<=\d)\[","-") into tTmp
> put replaceText(tTmp,"(?<!\d)\[",empty) into tComplete
>
> This does a look behind.
Amazing, thank you. I knew there had to be a way to do this but my regex
skills aren't good enough. Very nice!
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list