Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

using regex in javascript

//Adding '/' around regex
var regex = /s/g;
//or using RegExp
var regex = new RegExp("s", "g");
 
PREVIOUS NEXT
Tagged: #regex #javascript
ADD COMMENT
Topic
Name
7+2 =