I am having problems with some Regex code that might help.
I have the following row of data:
abcd " something code " nothing "f <b> cannot find this section </b> "
I want to find sections between quotation marks ".
I can get it if it works fine using the following regax:
foreach (Match match in Regex.Matches(sourceLine, @""((\\")|[^"(\\")])+""))
However, if the section between quotation marks contains <>, it does not find the section. Not sure what to do to include tags <>in the regex.
Thank you for your time.
source
share