I wrote a regex for search every space in html tags between attributes except the first. If I open vscode-s find and replace bar, options show in the code, but if i connect this rule with a shortcut its not working. If the regex is different its working. Its not working becouse of the " signs, thats why i put \ before of that. But its not working.
I wrote a regex for search every space in html tags between attributes except the first. If I open vscode-s find and replace bar, options show in the code, but if i connect this rule with a shortcut its not working. If the regex is different its working. Its not working becouse of the " signs, thats why i put \ before of that. But its not working.
The question is:
How can I use " signs in regex?
Original regex, what is working:
(?<![A-Z0-9-])[ ]+(?=[A-Z-:@]{0,}((="[^"]{0,}")|>))
Code: