How to detect ndash entity embedded in a textarea using Javascript?
I have a textarea within an HTML page into which my users paste content.
There is often an \"–\" (&ndash开发者_JAVA百科;)(\\x2013) embedded in that content.I need to detect and replace it a
问答
阅读(2)