reReplaceNoCase(someString,'(\S)[aeiou]*','\1','all') should do the trick.

-----Original Message-----
From: Kevin Faulkner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 24 March 2004 9:28 AM
To: CFAussie Mailing List
Subject: [cfaussie] RE: regex....


Thanks Mina, I was actually just looking into that, but I think abbreviating
only replaces vowels that aren't at the start of the word? Could I replace
all vowels that aren't either at the start of a string or preceeded by a
space?


----- Original Message -----
From: "Mina Sabag" <[EMAIL PROTECTED]>
To: "CFAussie Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 24, 2004 10:24 AM
Subject: [cfaussie] RE: regex....


Hi Kevin,

Try reReplaceNoCase(someString,'[aeiou]','','all')

Regards,
Mina

Mina Sabag
Web Developer
E-Commerce
Tourism Queensland

Looking for accommodation at discount prices?  www.BestRates.com.au



-----Original Message-----
From: Kevin Faulkner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 24 March 2004 9:14 AM
To: CFAussie Mailing List
Subject: [cfaussie] regex....


Hi All,

    Has anyone any pointers as to the regex for removing all vowels from a
string, I know I could do it with 5 normal replaces, but am trying to
increase my non-existant regex knowledge.

Cheers,

Kev


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004




---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to