Answer the question
In order to leave comments, you need to log in
Why doesn't want to parse string(Regex)?
There is a line like
\nWIKI/NYRT,\"New York REIT Inc (NYRT) Prices, Dividends, Splits and Trading Volume\"\nWIKI/OPWR,\"Opower Inc (OPWR) Prices, Dividends, Splits and Trading Volume\"\ n
I use a regular expression with a pattern
string pattern = "/(.*?)[\\/]([A-Z]*)(,.)(\".*?\")/gm";
Regex regex = new Regex(pattern);
Answer the question
In order to leave comments, you need to log in
string pattern = " / (.*?)[\\/]([AZ]*)( ,. )(\".*?\") /gm ";
string pattern = "(.*?)/([A-Z]*)(,|.)(\".*?\")";
var regex = new Regex(pattern, RegexOptions.Multiline);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question