>>>> 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.  :-)

> I noticed just yesterday that I had a problem using this
> UDF. If the tag to be striped is at the beginning of the
> block of text, no problem. But if the tag is in the middle
> of the text, it's missed completely.

> Is that the UDF or is that something I'm doing?

> Thanks
> Jake

hard to say without seeing your code... can you post the codebit where
you're using the function? There was a fix to the function a little
while back... not for this tho... I've never had this particular
problem -- woulda seemed fairly silly to have tested it and not been
able to strip the tags in the middle. :) ... I think the fix may have
been for not stripping a tag that happened to be the first item in the
string... in which case the fix might have caused the problem, but I'm
pretty sure I tested it before I resubmitted it.

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