Skip to content

Replace multiple occurrences on same line

berumuron requested to merge (removed):main into main

By default, regex stops at the first match. The "global" flag allows the regex to match multiple occurrences of a pattern on the same line.

Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/RegExp

Merge request reports