Match
Arguments
Explanation
Examples
"Hello! Hi!".match(/H.+?!/) == ["Hello!"]
"Hello! Hi!".match(/H.+?!/g) == ["Hello!", "Hi!"]Last updated
Was this helpful?
"Hello! Hi!".match(/H.+?!/) == ["Hello!"]
"Hello! Hi!".match(/H.+?!/g) == ["Hello!", "Hi!"]Last updated
Was this helpful?
Was this helpful?