What's the pattern of C# strings in regular expression? I mean some pattern that matches anything that Visual Studio recognizes as string
This pattern is what I have tried but it doesn't work in all cases :
"[A-z0-9\\+;"]+"
(of course this is not complete and there are a lot more characters that should be included but even here it's not working properly)
It works for a text like this : "kla\"+;s" but in this case : "a\"b + c" it only matches to "a\".
Actually I have testes a lot more but none of them were successful.
First of all I thought about this pattern: ".*" which won't work properly in a scenario like this : "a\"+;b" + "a\"b + c" which is not a string in fact but two separate strings and a plus operator
[A-z0-9\+;"]+works the same. This regex would match all letters and numbers, as well as the back slash,+,;and". Is that what you're wanting?