Is there any option to use more than one REgexOptions in a single Regex.Match method ?
Suppose i want to use RegexOptions.IgnoreCase and RegexOptions.Singleline in a Regex.Match method.
I want just like this….
Match m=Regex.Match(input,pattern, more than one regexoptions);
Is it possible ? If yes how can I do this?
As with all enumeration types representing bit flags, you may use the bitwise OR operator,
|, to combine multiple flags:Refer to Enumeration Types on MSDN for more details.