It rather depends what you're trying to do but:

reReplaceNoCase(string, "</?cf[^>]+>, "", "all")



-----Original Message-----
From: Ewok [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 5 November 2003 4:20 p.m.
To: CF-Talk
Subject: Regex help

hola listo!

I need some regex help : )

i need to find all cf tags in some text and replace it with something else
so anything that starts with "<cf"  and ends with ">" and anything that
starts with "</cf" and ends with ">"
this should be an easy one and im sure it is... but I left my brain on
vacation

i THOUGHT it was....
<cf[^>]
or
</cf[^>]

but they arent working... the just return the <cf or the </cf but not the
rest of the tag

TIA
cheers

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 10/17/2003

  _____  


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to