+ 23
How to replace all the special characters with their HTML codes in javascript ??
I want to replace all the characters "<" and ">" with "<" and ">" respectively from a string.
4 Answers
+ 11
Pikachu(you must heard my name) Not in regex please.
- 2
Š”Š¾Š²ŠµŃŃŠµŠ½Š½Š¾ Š¾ŃŠµŠ²ŠøŠ“Š½Š¾ ŃŠ¾, ŃŃŠ¾ ŃŃŠ¾ Š¾ŃŃŠ¶ŠøŠµ Š¾Š±Š»Š°Š“Š°ŠµŃ ŃŠ±Š¾Š¹Š½Š¾Š¹ ŃŠøŠ»Š¾Š¹!