rereplace(mystring, "(\ <file://\\par)([^[:space> \par)([^[:space:]])",
"\1 \2", "all")
-----Original Message-----
From: Deanna Schneider [mailto:[EMAIL PROTECTED]
Sent: donderdag 11 december 2003 15:25
To: CF-Talk
Subject: regex help

Hi All,
I'm trying to write a regex that does the following:

Looks for any instance of the string \par followed by anything but a
space
and replace it with \par and a space and the character that followed it.

So, if I have \parThe

I want
\par The

Here's what I'm trying, and it doesn't work:

rereplace(mystring, "\par([[::alnum::]]+)", "\par \1", "all")

Help?
Thanks.
Deanna

--
Deanna Schneider
UWEX-Cooperative Extension
Interactive Media Developer
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to