How would I go about matching all of the text before a known literal string that I specify? I know ^ is beginning of line, but can't find out beginning of file with many lines. Is there a counterpart for the end of a file?
What I've got is a bunch of html files that I need to delete all html before this string <!-- #BeginEditable "main" --> and after <!-- #EndEditable -->. Any help would be much appreciated. -- jon mailto:[EMAIL PROTECTED] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

