/ Published in: JavaScript

Expand |
Embed | Plain Text
string.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");
You need to login to post a comment.
string.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");
You need to login to post a comment.