I need a regex expression which will match 'xmlAttributeReplace=' and the quote following the curly bracket. I then replace these matches with an empty string.
Sample input is
<autoUnlockSection xmlAttributeReplace="#{token.variable.sample}"
xdt:Transform="Replace"/>
I currently have the following
xmlAttributeReplace="|(?<=})"
My problem is how I'm finding the quote following the curly bracket is incorrect. The look behind should be looking for
- xmlAttributeReplace=
- no spaces between the quote and xmlAttributeReplace=
Is there a guru here at regex who might know the correct syntax?