Created
June 10, 2020 04:35
-
-
Save nitayneeman/28347a6cc8b2a393e45b9cea4b5ec609 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const regex = /t(e)(st(\d?))/g; | |
const result = 'test1test2'.matchAll(regex); | |
console.log(result); // [RegExpStringIterator] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment