News
The alternative is called a lazy match, which finds the smallest possible part of the string that satisfies the regex pattern. However, you can use the ? character to change it to lazy matching.
The regex library of matching characters has been growing in Javascript for a while. The Mozilla MDN for RegExp has a breakdown of what is supported, which may be well beyond what most people expect.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results