In that case, if wildcards aren’t enough I’d use an LLM - chat gpt or llama can handle simple regex, and you can just try it out and see if it worked right
Honestly, as a programmer, I’d advise you to learn Python or JavaScript before diving into regex. If you could mess with html without guidance, you’ve passed the big gap that separates people who can code from those who can’t - your eyes didn’t glaze over when you looked at something you didn’t understand. Writing a script to do custom string replacements isn’t hard, it’s less efficient but it’ll stick with you in a way that regex won’t
I use regex when I need speed, but it’s a very powerful one trick pony - the problem is it’s extremely dense
You can write code that follows your thoughts, you write regex that matches your intentions