that should be removing all HTML tags, basically anything string inside angle brackets and the angle brackets themselves will be replaced with an empty string.

what happens?


Hi,

Really enjoyed CF_Europe. It was good to put some faces to all the names. Now onto business.

I have a verity search which uses an index from a query which grabs some html from a db and then outputs the results. I am using the following UDF

function StripHTML(str) {
        return REReplaceNoCase(str,"<[^>]*>","","ALL");
}

to strip out the html which seems to be mostly working. Does anyone know how I could modify the above to also remove any <img src...> tags so that all I get in the results summary is text with no html?

Thanks

Dave


-- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



Reply via email to