RegExpUtil class

正则表达式 参考:RegexUtil

Constructors

RegExpUtil()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

getPreStringByCount(String text, int count) → String
截取字符串前几位
isBoyByIdCard(String idCard) → bool
验证身份证男女信息
isChinaPhoneLegal(String str) → bool
手机号验证
isChinese(String value) → bool
验证中文
isEmail(String str) → bool
邮箱验证
isIdCard(String value) → bool
验证身份证
isUrl(String value) → bool
验证URL