smallballz 0 Posted June 23, 2010 Report Share Posted June 23, 2010 Following this thread about removing unwanted character, i seemed to not be able to get mine to work. can someone look at this and let me know where i messed up? i am trying to remove the junk characters in %data001http://img705.imageshack.us/img705/160/boowb.gif many many thanks!!boo.ubot Quote Link to post Share on other sites
smallballz 0 Posted June 23, 2010 Author Report Share Posted June 23, 2010 hi guys, is $eval broken or am i doing it wrong? I am trying to use the snippet posted here. "{1}".replace(/[^a-zA-Z 0-9\-_\`\~\!\@\#\$\%\^\&\*\(\)\.\,\:\;\?\']+/g,""); {1} being your scraped data variable Quote Link to post Share on other sites
alcr 135 Posted June 23, 2010 Report Share Posted June 23, 2010 You need to be on a page which have javascript in order to run javascript or use $eval Quote Link to post Share on other sites
smallballz 0 Posted June 24, 2010 Author Report Share Posted June 24, 2010 hmm, can you provide tips on how to remove those unwanted characters locally ? Quote Link to post Share on other sites
alcr 135 Posted June 27, 2010 Report Share Posted June 27, 2010 I think you have to use $next list item instead of having the list (inside the set command) Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.