If you'd like you can use the underlying java implementation of replaceAll.

<Cfset str = "~{Test Information2</a></li>~{Test Information</a></li>~{Test
Information4</a></li>~{Test Information</a></li>" />
<cfdump var="#str.replaceAll( "([a-zA-Z0-9])</a></li>", "$1}~</a></li>" )#"
/>

Should show: ~{Test Information2}~</a></li>~{Test
Information}~</a></li>~{Test Information4}~</a></li>~{Test
Information}~</a></li>

-Pat

On Tue, Jun 14, 2011 at 7:49 AM, Patrick Kerley <[email protected]> wrote:

>
> I have a regular expression issue.
>
> I have information that says:
>
> ~{Test Information</a></li>
>
>
> That in a series of processing should look like ~{Test
> Information}~</a></li>
>
> Any idea in a rereplace how I can replace anything that is ~{*</a></li>
> with ~{*}~</a></li>
>
> Thanks
> Pat
>
> -------------
> Patrick Kerley
> [email protected]
> ------------
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345260
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to