negating in a regexp
pete at lcsql.com
Wed Mar 30 15:30:46 EDT 2016
^ outside  means start of line.
On Wed, Mar 30, 2016 at 12:15 PM Dr. Hawkins <dochawk at gmail.com> wrote:
> I'm trying to filter a string to change everything but digits to spaces.
> It would seem that
> replaceText("ab26 <tab>g9", "^\d",space)
> should produce " 26 9", but for the live of me, I can't get ^ to work in
> any context.
> I've even tried playing with the regex builder plugin, with no success.
> Am I missing something simple (again)?
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode