Viewing 3 posts - 1 through 3 (of 3 total)
- AuthorPosts
- February 6, 2008 at 5:25 am #5407PeterParticipant
How to match the following string?
if(typeof(IsPrinterFriendly) != ‘undefined’)
{
var ss = document.URL.split(“?pf=”);
document.write(“Url of the page: [” + ss[0] + “]
“);
}
February 6, 2008 at 4:50 pm #5408PuzomParticipantHi,
Enable the Regular Expressions Can Match New Line Characters check box.
To do so press CTRL+K –> Search tab –> last check box in that dialog. Enable it.
Also set the Additional Lines to Search for Regular Expressions to 10 or so.
Not sure how much you want to catch, but if you want to go from “”<script"…to…."””
you can use “<script.*” (Use Regular Expressions option should be enabled in the find/search dialog)Regards.
February 7, 2008 at 6:26 am #5409PeterParticipantThank you very much! I just overlooked the addition lines option :-P
- AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.