Dr. Hawkins 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.

Use "[^0-9]" instead of "^\d".



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/negating-in-a-regexp-tp4702810p4702811.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to