I have a JS file with strings. Here is the format:

I have a JS file with strings. Here is the format:
I would use a regex like this:
Start with: ^\s*([^:]+)\s*:[^"`]*["|`]
End with: ["|`],
The problems are unusual apostrophe characters in one of the entries. This rule can also import the unique IDs with its first back reference.
Thanks this worked as expected.
Thanks this worked as expected.