for you. I use it on my blog website and it works wonderfully. You can
find it here:
http://www.cfcomet.com/utilities/ <http://www.cfcomet.com/utilities/>
Look for <http://www.cfcomet.com/utilities/CF_ColoredCode_v3-2.zip>
CF_ColoredCode v3.2
-----Original Message-----
From: Ewok [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 10:02 AM
To: CF-Talk
Subject: Re: Regex help
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]

