Answers for "how to escape special characters in javascript"

0

js remove special characters

var desired = stringToReplace.replace(/[^\w\s]/gi, '')
Posted by: Guest on September-23-2020
5

js escape characters

JS Escape Characters
\' — Single quote
\" — Double quote
\\ — Backslash
\b — Backspace
\f — Form feed
\n — New line
\r — Carriage return
\t — Horizontal tabulator
WebsiteSetup.org - Beginner’s Javascript Cheat Sheet 7
\v — Vertical tabulator
Posted by: Guest on January-04-2021

Code answers related to "how to escape special characters in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language