0

seems ".*" cannot match "®" I'm not sure why this special symbol is in the URL. It shows like "xAE" in Notepad++.

Does someone can help me? Thanks!

Hao Ban
  • 31
  • 1
  • 2
  • 6
  • the URL is like "www.example.com:443/dvtp_src.js?ctx=10309481&cmp=11225034&sid=2555202&plc=149478553&num=&adid=&advid=2116933&adsrv=1ϩon=30&btreg=&btadsrv=&crt=&crtname=&chnl=&unit=&pid=&uid=&tagtype=&app=&sup=&DVP_EXID=&DVP_CDID=&DVP_DMGRV=&DVP_LAT=&DVP_LONG=&dvtagver=6.1.src 192.168.1.1" ------------- I tried to use " sed 's/:.* / /' " to have the " www.example.com 192.168.1.1 " – Hao Ban Sep 08 '17 at 21:59
  • Possible duplicate of [Anyone know how to use Regex in notepad++ to find Arabic characters?](https://stackoverflow.com/questions/18411903/anyone-know-how-to-use-regex-in-notepad-to-find-arabic-characters) – Mateen Ulhaq Sep 08 '17 at 22:03
  • Try `[.\x{00AE}]*`. – Mateen Ulhaq Sep 08 '17 at 22:03
  • I'm using notepad++ with utf8, and I am finding that '.' matches to the '®' character. I can't reproduce your error. – Mike Sep 08 '17 at 23:45

0 Answers0