Answer the question
In order to leave comments, you need to log in
Why does a regular expression that works fine in php not work in c#?
The regular season itself: https://regex101.com/r/wQ5aA7/1
Answer the question
In order to leave comments, you need to log in
Because regular expressions have many dialects.
Apparently C# doesn't support some of the metacharacters you used, or the escaping for C# was bugged.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question