Hi Brandon, BEWARE!!! A RegExp of this kind, <script.*>.*</script>, will pick up everything from the start of your FIRST <SCRIPT>, through to the close of your LAST <SCRIPT>. The * multiplier is "greedy", ie tries to match as much as possible. There is, as yet, no way in CF to make * "non-greedy". In Perl, you could use ".*?" In practice, to do this, I would use Find() twice to find the opening and closing tags. Yuck, right? Lee (Bjork) Borkman http://bjork.net ColdFusion Tags by Bjork -----Original Message----- From: Brandon Behrens [mailto:[EMAIL PROTECTED]] Can anyone out there tell me how I can use a regular expression to grab an entire script block? Here is what I am using now: <script.*>.*|\s</script> .... IMPORTANT NOTICE: This e-mail and any attachment to it is intended only to be read or used by the named addressee. It is confidential and may contain legally privileged information. No confidentiality or privilege is waived or lost by any mistaken transmission to you. If you receive this e-mail in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. The RTA is not responsible for any unauthorised alterations to this e-mail or attachment to it. ~~~~~~~~~~~~~ Paid Sponsorship ~~~~~~~~~~~~~ Get Your Own Dedicated Win2K Server! Instant Activation for $99/month w/Free Setup from SoloServer PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support Visit SoloServer, https://secure.irides.com/clientsetup.cfm. Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

