StringExtensions extension Null safety

on

Methods

isAlphabet() bool
Alphabet Only regex (No Whitespace & Symbols)
isAlphabetNumeric() bool
Alphabet & Numeric Only regex (No Whitespace & Symbols)
isAlphabetNumericSymbol() bool
Alphabet, Numeric, Symbol Only regex (No Whitespace & Symbols)
isApk() bool
Document regex
isAudio() bool
Audio regex
isBinary() bool
Binary regex Consist only 0 & 1
isCurrency() bool
Currency regex
isDateTimeUTC() bool
DateTime regex (UTC) Unformatted date time (UTC and Iso8601) Example: 2020-04-27 08:14:39.977, 2020-04-27T08:14:39.977, 2020-04-27 01:14:39.977Z
isDoc() bool
Document regex
isEmail() bool
Email regex
isExcel() bool
Excel regex
isGithub() bool
Github repository regex
isHex() bool
Hexadecimal regex
isHtml() bool
HTML regex
isImage() bool
Image regex
isIPV4() bool
IPv4 regex
isIPV6() bool
IPv6 regex
isISBN() bool
ISBN 10 & 13 regex
isMD5() bool
MD5 regex
isNumeric() bool
Numeric Only regex (No Whitespace & Symbols)
isPassport() bool
Passport No. regex
isPasswordEasy() bool
Password (Easy) Regex Allowing all character except 'whitespace' Minimum character: 8
isPasswordEasyWithspace() bool
Password (Easy) Regex Allowing all character Minimum character: 8
isPasswordHard() bool
Password (Hard) Regex Allowing all character except 'whitespace' Must contains at least: 1 uppercase letter, 1 lowecase letter, 1 number, & 1 special character (symbol) Minimum character: 8
isPasswordHardWithspace() bool
Password (Hard) Regex Allowing all character Must contains at least: 1 uppercase letter, 1 lowecase letter, 1 number, & 1 special character (symbol) Minimum character: 8
isPasswordNormal1() bool
Password (Normal) Regex Allowing all character except 'whitespace' Must contains at least: 1 letter & 1 number Minimum character: 8
isPasswordNormal1Withspace() bool
Password (Normal) Regex Allowing all character Must contains at least: 1 letter & 1 number Minimum character: 8
isPasswordNormal2() bool
Password (Normal) Regex Allowing LETTER and NUMBER only Must contains at least: 1 letter & 1 number Minimum character: 8
isPasswordNormal2Withspace() bool
Password (Normal) Regex Allowing LETTER and NUMBER only Must contains: 1 letter & 1 number Minimum character: 8
isPasswordNormal3() bool
Password (Normal) Regex Allowing all character except 'whitespace' Must contains at least: 1 uppercase letter, 1 lowecase letter & 1 number Minimum character: 8
isPasswordNormal3Withspace() bool
Password (Normal) Regex Allowing all character Must contains at least: 1 uppercase letter, 1 lowecase letter & 1 number Minimum character: 8
isPdf() bool
PDF regex
isPhone() bool
Phone Number regex Must started by either, "0", "+", "+XX
isPPT() bool
PPT regex
isSHA1() bool
SHA1 regex
isSHA256() bool
SHA256 regex
isSSN() bool
SSN (Social Security Number) regex
isTxt() bool
Txt regex
isUrl() bool
URL regex Eg:
isUsername() bool
Username regex Requires minimum 3 character Allowing "_" and "." in middle of name
isVector() bool
Image vector regex
isVideo() bool
Video regex