Is there a way to retrieve the (starting) character positions inside a string of the results of a regex match() in Javascript?
![](https://itnursery.com/wp-content/uploads/2022/05/apple-touch-icon@2.png)
Is there a way to retrieve the (starting) character positions inside a string of the results of a regex match() in Javascript?