Quick Nav:  Online Store   |   Login | Register

Pre DocType Text Rule

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Will Strohl
<250Posts
Posts:100


05/21/2008 6:58 PM  

I have a page where there is dynamic text injected into the mark-up before the DTD.  My attempts to remove it so far have been unsuccessful.  The regex is wrong, because it hangs up the site.  Here is what I tried:

FIND:  (.*)\<\!DOCTYPE

REPLACE WITH:  $0

How can I get this to work?

John Mitchell
Posts:3471


05/22/2008 7:04 AM  
Try this:

Search For:
(.*?)< !DOCTYPE

Replace With:
< !DOCTYPE

(extra space added after < for display needs to be removed)
Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >PageBlaster > Pre DocType Text Rule



ActiveForums 3.7
Powered by: Snapsis Software