I have a text and want to find some strings with regular expressions. My problem is i don't know how to make "&&-and" here.
I have text like this:
AB " something is here;
and here...
";
...
AB "new line
continues ... ";
I want to find all AB, which end with ";
My code i use for ";" :
var matches = Regex.Matches(tmp, "(AB) ([^;]*);", RegexOptions.Singleline);
But how can i make "(AB) ([^(\";)]*)\";"
or just "(AB) ([^(\"&&;)]*)(\"&&;")
?
I would like to have:
AB
" something is here;
and here ...
"
AB
"new line
continues ..."