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: 13.0.131
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