HelperIsValidRegexValue Method (Regex, String) |
Validates specified value with the specified regular expression.
Namespace: Bio.UtilAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public static bool IsValidRegexValue(
Regex regx,
string value
)
Public Shared Function IsValidRegexValue (
regx As Regex,
value As String
) As Boolean
public:
static bool IsValidRegexValue(
Regex^ regx,
String^ value
)
static member IsValidRegexValue :
regx : Regex *
value : string -> bool
Parameters
- regx
- Type: System.Text.RegularExpressionsRegex
Regular expression object. - value
- Type: SystemString
Value to validate.
Return Value
Type:
BooleanReturns true if value completely match with the specified
regular expression; otherwise false.
See Also