<cfset x = "lkjlkjlkjlkjlkj[[Whee! I'm a string!]]tyrytrtrty">

<cfoutput>
<br>The output is......#ReReplace(x, ".*\[\[[^\]]+\].*", "[[Very New 
String]]")#......
</cfoutput>

gives:

The output is......[[Very New String]]......


Dick



On Wednesday, June 5, 2002, at 02:55  PM, Scott Weikert wrote:

> I've got a string, surrounded by double brackets on each end, a la:
>
> [[Whee! I'm a string!]]
>
> that I'm trying to be able to pluck out, using ReFind, and overwrite 
> using
> ReReplace. I'm having little luck coming up with the regular expression 
> to
> encompass this little sneaky sucker. Any help on this would be greatly
> appreciated.
>
> Thanks in advance,
> --Scott
>

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to