I'm sure there is a simple solution, but I just seem to be missing it.
I need a regex to do the following:
asdf.txt;qwer
should match asdf.txt
"as;df.txt";qwer
should match as;df.txt
As you can see, I need to match up to the semi-colon, but if quotes exist(when there is a semi-colon in the value), I need to match inside the quotes. Since I am looking for a file name, there will never be a quote in the value.
My flavor of regex is C#.
Thanks for your help!