How to remove following symbol/special character in string using jquery
¶
I have problem during comparing two strings .
Above mentioned symbol is append when I compute difference.
I also test it in my local application
please check link below.
http://neil.fraser.name/software/diff_match_patch/svn/trunk/demos/demo_diff.html
Yields:
This will remove all occurrences of the character. No jQuery necessary – just vanilla browser-provided JavaScript.
Some additional details are available at https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String/replace.