>> Can ColdFusion's RegEx functions accomplish this, or am I
>> going to have
>> to figure out a workaround?

> Neither, actually.  Try S. Isaac Dealey's StripTags UDF
> from
> http://www.cflib.org.

> IIRC, it does exactly what you want.  :-)

> --Ben

Unless of course what you want is actually a pastrami on rye. :)

<cfset myString = stripTags("allow","b,i,u,strong,p",form.mystring)>

http://www.cflib.org/udf.cfm?ID=774

s. isaac dealey   954.927.5117

new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to