Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript RegExp test()

 let text = "abcdefghijklmnopqrstuvxyz";
 let pattern = /e/;
 pattern.test(text)
/*searches for pattern in text*/
 
PREVIOUS NEXT
Tagged: #JavaScript #RegExp
ADD COMMENT
Topic
Name
1+6 =