May I use a RegEx (insted of Substring) in order to get a string in a string?
I'd like to get just the table names from a series of INSERT statements
INSERT INTO tableA VALUES (col1, col2, col3);
INSERT INTO tableB VALUES (col1, col2, col3);
INSERT INTO tableC VALUES (col1, col2, col3);
Using a regEx I would like to get (single line as I'm reading from a file):
tableA
tableB
tableC
I've tried with this expression (INTO )([a-z_])* which gives me 'INTO tableA' which I can use a SubString or Replace to give me the rest, but I'm guessing this may be done in RegEx.
