javascript - remove certain special characters from Text -
hey guys making project on phantomjs read source code of webpages , extract info need there. finished work 1 issue facing right now. have text have inside special characters need rid off. in case have :
avenue de citeaux 22<br><br>1348 louvain-la-neuve that "<><>" need rid off, using :
str.replace('<br><br>','') but not working ... ideas ?
try str.replace(/<br>/g, "") (regular expression global search flag enabled, replace occurences).
Comments
Post a Comment