Ooops, forgot the quote-stripping part :p

This one does that, too:
r = REReplace(ListChangeDelims(s, ",", " "), """([^,]*),([^,]*)""", "\1 \2", "All");


Mark Stanton wrote:

Hey All

Just wondering if someone could help me with this...

I need a regular expression to convert:

"event calendar" 11th August

into

event calendar,11th,August

So basically we need to replace every space that occurs outside of
quotes with a comma, then I can strip the quotes.

Thanks in advance..






---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to