Advanced Regex: Find and Replace Every Second Instance Of A Character

added by JavaScript Kicks
10/21/2019 10:15:53 AM

305 Views

I'm working on a personal project, part of which involves some experimental semicolon insertion. While this functionality could be applied to any character, I will be using back ticks as a point of reference. See the string below. The goal is to insert a semicolon after the second back tick.


0 comments