String.Matches(String) String.Matches(String) Method

Definition

Tests whether this string matches the given regularExpression.

[Android.Runtime.Register("matches", "(Ljava/lang/String;)Z", "")]
public bool Matches (string regex);
member this.Matches : string -> bool

Parameters

regex
String String

Returns

Exceptions

if regularExpression == null

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to