DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript regex
let str = 'hello world!'; let result = /^hello/.test(str); console.log(result); // true
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#javascript
#regex
ADD COMMENT
Topic
COMMENT
Name
4+9 =
Submit