Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
Is their a negative lookbehind equivalent in JavaScript?
For a negative look-behind in JavaScript, use the following −
(^|[^\])"
To replace double quotes, you can use the following −
str.replace(/(^|[^\])"/g, "$1'")
Advertisements
