Good morning, I'm trying to use regular expressions to select all attributes, but I don't want to select the attributes of a specific tag. My code:
/("([^"]*)\")/g
Example: https://regexr.com/66nup
The code works fine, I just want to exclude the attributes from the "Variable" tag.
Is something like this what you're looking for?
/<variable.*?>/g
That removes just the <variable includable id='image'> from your linked example.
Or do you also need it to remove the </b:includable> right after?