Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regexp constructor javascript

var reg = new RegExp('(s)$');
//Note that the expression is not contained within backslashes.
 
PREVIOUS NEXT
Tagged: #regexp #constructor #javascript
ADD COMMENT
Topic
Name
7+6 =