How can I search for a » character in a JavaScript regexp?
Code that's not working right now:
var extralinks = new RegExp('»','g');
div.innerHTML = div.innerHTML.replace(extralinks,'This is special punctuation');
Grazie!
var extraLinks = / \\ xBB / g;
查找ASCII表并转义字符http://www.asciitable.com/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.