On 9/21/06, Garrett Fitzgerald <[EMAIL PROTECTED]> wrote:
On 9/21/06, Malcolm Greene <[EMAIL PROTECTED]> wrote:
> Craig Boyd's www.sweetpotatosoftware.com blog has a great regular
> expression FLL that's more powerful than the WSH/VBScript regex object.
Malcolm, thanks! I had completely forgotten about this, but I'll
definitely be using it in the future.
For example:
CREATE CURSOR TestRegExp (cName C(40))
INSERT INTO TestRegExp VALUES ("John Doe")
INSERT INTO TestRegExp VALUES ("Smith, Jane")
INSERT INTO TestRegExp VALUES ("Martens, Fred MD")
SET LIBRARY TO HOME()+"RegExp.FLL"
REPLACE cName ;
WITH regexp(cName, "(\w+), (\w+)\s*", 1, "\2 \1") ;
FOR regexp(cName, "(\w+), (\w+)\s*")
BROWSE
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.