I have been trying to use Regex to select a block of an XML based .NET Core CSPROJ file, and yes before you say know I could use XPATH, but why am not is another story.
I was trying to use the Regex
After much experimentation I found that the following line worked
Well that a a good few hours of my life I won’t get back. No idea why Node handles the wildcards differently