Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5407
    Peter
    Participant

    How to match the following string?


    if(typeof(IsPrinterFriendly) != ‘undefined’)
    {
    var ss = document.URL.split(“?pf=”);
    document.write(“

    Url of the page: [” + ss[0] + “]

    “);
    }

    #5408
    Puzom
    Participant

    Hi,

    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.

    #5409
    Peter
    Participant

    Thank you very much! I just overlooked the addition lines option :-P

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.