I´m new to regular expressions, I need find one phrase in a piece of text (case insensitive), for example:
Text : FindThis("This is example text")
I need get "FindThis" to locate my phrase regardless of the case of the text.
I've tried this:
static Regex text= new Regex("(FindThis\\(['|\"])([^'\"]*)");
Regexis done in a case sensitive manner. Can you try and explain what is going wrong by providing samples that you expect should match and don't?iflag at the end).