Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regular expression constructor javascript

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