Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript regex match sequence

// Regular expression match sequence of characters
console.log(/abc/.test("abcde")); // true
console.log(/abc/.test("abxde")); // false
Source by eloquentjavascript.net #
 
PREVIOUS NEXT
Tagged: #javascript #regex #match #sequence
ADD COMMENT
Topic
Name
8+3 =