How to write JavaScript Regular Expression for multiple matches?
Answers
Answered by
1
If our regular expression uses the " g " flag, you can use the exec() method multiple times to find successive matches in the same string. When you do so, the search starts at the substring of str specified by the regular expression's lastIndex property ( test() will also advance the lastIndex property).
Answered by
0
the full amount is possible
Similar questions