Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js regrex

var s = "Please yes
make my day!";
s.match(/yes.*day/);
// Returns null
s.match(/yes[^]*day/);
// Returns 'yes
make my day'
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #js #regrex
ADD COMMENT
Topic
Name
9+2 =