> On the acs_stripTags.cfm, > you could make that quicker using one regex.
The only thing is that my longer version was designed to catch 'orphaned' opening and closing tags as well. I thought of maybe putting in a couple of extra regexes to catch these, or maybe just using your regex for speed, and forgetting about the possibility of orphaned tags, until I ran a quick test. On the source of a basic Word doc, the long-winded code ran consistently at around 80ms, whereas the single regex code ran at around 270ms! Can't believe this myself, but I guess it makes my decision for me, and makes me a little wary of the idea that the compactness of regex code would automatically lead to speed gains. Thanks anyway, - Gyrus [EMAIL PROTECTED] ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc 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

