hey mathew...
that almost works! its not stopping at the end though....
reReplaceNoCase(string, "</?cf[^>]+>", "", "all")
its pretty much returning anything that starts with <cf
RETURNS
<cfoutpout>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
</td>
</tr>
</table>
</cfoutput>
and enything inbetween
what I am trying to do is colorcode all the cf tags that are in a code block of a message board post
thanks for your help
Ewok
----- Original Message -----
From: Matthew Walker
To: CF-Talk
Sent: Tuesday, November 04, 2003 11:51 PM
Subject: RE: Regex help
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]
- Re: Regex help Claude Schneegans
- RE: Regex help Joshua Miller
- RE: Regex help Ben Doom
- Re: Regex help Claude Schneegans
- RE: Regex help Joshua Miller
- RE: Regex help J E VanOver
- RE: Regex help Ben Doom
- RE: Regex help Jerry Johnson
- RE: Regex help Ben Doom
- RE: Regex help Matthew Walker
- RE: Regex help Ewok
- RE: Regex help Hagan, Ryan Mr (Contractor ACI)
- Re: Regex help Ewok
- regex help Deanna Schneider
- RE: regex help Pascal Peters
- Re: regex help Deanna Schneider
- Re: regex help- Solved Deanna Schneider
- Re: regex help Jerry Johnson
- RE: regex help Pascal Peters
- Re: regex help Deanna Schneider
- Re: regex help Ben Doom