DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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");
Source by eloquentjavascript.net #
PREVIOUS
NEXT
Tagged:
#regex
#javascript
ADD COMMENT
Topic
COMMENT
Name
5+2 =
Submit