I need to find table names that are located between two markers, "Begin InputTables" and "Begin OutputColumns". The table names are in turn located between double quotes. In the following example, I am looking for "AGCOUNTY", "ELIGIBILITY" and "X":
Since I'm looping through the text, I don't need or want to find these strings use a regex MatchCollection.
My question: why doesn't the following regex...
... find the X in singleline mode?
... will find AGCOUNTY in multiline mode, and this regex...
... will find ELIGIBILITY in multiline mode.
Put another way, what regex can I use to place an unknown number of carriage returns in a lookahead in .Net?