开发者

How to search for special character in a string in javascript?

开发者 https://www.devze.com 2023-01-02 10:59 出处:网络
I have tp develop a javascript function with string parameter value which has to search the input parameter contains th开发者_如何转开发e following special character like (® ´ © ¿ ¡ ° À & ~

I have tp develop a javascript function with string parameter value which has to search the input parameter contains th开发者_如何转开发e following special character like (® ´ © ¿ ¡ ° À & ~ : ? ! # * ^ < > ´ | %). What is best way in javascript to do the above scenario?. Thanks in advance.


You can find the answer to this in this other post: Alt attribute encoding with JavaScript

0

精彩评论

暂无评论...
验证码 换一张
取 消