RegexHelperGetRegex Method (String, Boolean) |
Gets the regular expression specified by a matching pattern, optionally specifying processing options.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax public static Regex GetRegex(
string pattern,
bool ignoreCase
)
Parameters
- pattern
- Type: SystemString
Pattern to match - ignoreCase
- Type: SystemBoolean
If true, the regular expression is case insensitive
Return Value
Type:
RegexSee Also