Thanks Claude and Jacob. Works fine. Great job.

Cheers

MD


2006/2/24, Munson, Jacob <[EMAIL PROTECTED]>:
>
> Try this:
> <cfset myStr = "(;*%3242432424;delete%%*%%from%%maçã%*;)">
> <cfset reMatch = reFind("(\(;)(.*?)(;\))",myStr,1,"true")>
> <cfoutput>
> Original: #myStr#<br />
> Extracted: #Mid(myStr,reMatch.pos[3],reMatch.len[3])#
> </cfoutput>
>
> > -----Original Message-----
> > From: Michel Deloux [mailto:[EMAIL PROTECTED]
> > Sent: Friday, February 24, 2006 9:26 AM
> > To: CF-Talk
> > Subject: [SOT] RegEx question
> >
> > Hi all.
> >
> > This is for RegEx gurus:
> >
> > look this example:
> >
> > (;*%3242432424;testing%%*%%from%%regex%*;)
> >
> > How to get all words inside the first (; and ;)? For this
> > simple example
> > will return
> >
> > *%3242432424;delete%%*%%from%%maçã%*
>
>
> [INFO] -- Access Manager:
> This transmission may contain information that is privileged, confidential
> and/or exempt from disclosure under applicable law.  If you are not the
> intended recipient, you are hereby notified that any disclosure, copying,
> distribution, or use of the information contained herein (including any
> reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
> in error, please immediately contact the sender and destroy the material in
> its entirety, whether in electronic or hard copy format.  Thank you.   A2
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233405
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to