If you want to make some complex regex matching, .net’s default library is bit messy and not easy.
I’ve crafted an open-source project to wrap and handle it to u so the usage will be as simple as possible.
Here’s how u use it:
Nuget package: PM> Install-Package
In github: https://github.com/Livshitz/Liv.RegExp