Need help with an regex

Results 1 to 2 of 2

Thread: Need help with an regex

  1. #1
    Join Date
    Dec 1969

    Default Need help with an regex

    I don't know much about regular expressions so I hope someone can help me make one that I realy need to use. I need regex to search for any word character (0-9,a-z,A-Z)then the string "/title" I tryed useing "w/title" but that did not work. Please help.

  2. #2
    Join Date
    Dec 1969

    Default Just omit the /

    var re = /wtitle/<BR><BR>The / in front of the t would mess it all up.<BR><BR>Oh, wait! You are looking *specifially* FOR the slash, is that it???<BR><BR>Okay:<BR><BR>var re = /w/title/<BR><BR>You have to "escape" the slash. Note: this holds true even if you are using VBS regexps.<BR><BR>&#060;%<BR>Set re = New RegExp<BR>re.Pattern = "w/title"<BR>...<BR>%&#062;<BR><BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts