I want to remove the escape charecters from a string using jquery.
I know about the “escape()” in jquery but the issue is
For example I want to remove the escape charecters from the string “http://www.abc.com” if we
use escape() we get the result like this ‘http%3A//www.abc.com’ but i want the result like
‘http//www.abc.com’. How it possible using jquery?
escape()encodes the special characters! To remove the characters, use for examplereplaceAll(String regex, String replacement).In the
regex-part you can insert all of the special character you want to remove.