Kym

How does that work if i have

bla bla bla [code] this is stuff [/code] bla bla bla

which is why i need to use the regular expression

Steve

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kym Kovan
Sent: Sunday, May 23, 2004 5:23 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: Regular Expression making my hair fall out~!


Hi Steve,

>Can anyone help me here?
>
>I have a string that could for example look like this
>
>[code]
>hello
>[/code]
>
>I am trying to extract "hello" from the string.

If the [code] part is literally that why not something simple like

<cfset result = mid("[code]hello[/code]", 7, len("[code]hello[/code]")-7)>

or am I missing something?


--

Yours,

Kym


---
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