Click or drag to resize
RegexHelperGetRegex Method (String, Boolean)
Gets the regular expression specified by a matching pattern, optionally specifying processing options.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax
C#
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: Regex
See Also