imbStringSelect Class |
Namespace: imbSCI.Core.extensions.text
The imbStringSelect type exposes the following members.
| Name | Description | |
|---|---|---|
| isAcronimByLength |
Test if input matches [\s\b]{1}([A-Z]{3,4})[\s\b]{1}
| |
| isAcronimIrregular |
Test if input matches [\s]{1}([ZXCVBNMKLJHGFDSQWRTYP]{2,})[\s]{1}
| |
| isEmailAddress |
Test if input matches [a-zA-Z\d_\.]+@[a-zA-Z_\.]*?\.[a-zA-Z\.]{2,6}
| |
| isLettersWithDotsFromStart |
Test if input matches \A([\w\.]*)
| |
| isPhoneNumber |
Test if input matches [\+0^]{1,2}[\s]{0,2}([\d\(\)]{2,5}[\s\(\)\-\.\/\\]{1,2}){3,5}
| |
| isPostOfficeNumber |
Test if input matches (([\d]{5})|([\d]{2}[\s]{1}[\d]{3})[\b]{1})[\W]{1}
| |
| isRegexName |
Test if input matches ([\w]{1}\.{1}\s{1}){2,}
| |
| isSingleToken |
opposite to isTokenStream(String) test
| |
| isStandards |
Test if input matches [A-Z]{1,5}[\s\-\:]*[\d]{2,5}[\d\:]*
| |
| isTokenStream |
Test if input matches [\s\,\;\-]+ : checks if the input is a solid, single token (false) or it is one of token streams kinds (like: "token,token,51", "tkn tk2, 50;", "50;rk;23", "tk-tj"
| |
| isYearNumber |
Test if input matches ([\d]{4}[\.])
| |
| select_inlineTypedProperty |
Match Evaluation for inlineTypedProperty : _select_inlineTypedProperty
|
| Name | Description | |
|---|---|---|
| _select_inlineTypedProperty |
Regex select inlineTypedProperty : (.*):(.*)=(.*);
| |
| _select_isAcronimByLength |
Regex select AcronimByLength : [\s\b]{1}([A-Z]{3,4})[\s\b]{1}
| |
| _select_isAcronimIrregular |
Regex select AcronimIrregular : [\s]{1}([ZXCVBNMKLJHGFDSQWRTYP]{2,})[\s]{1}
| |
| _select_isEmailAddress |
Regex select EmailAddress : [a-zA-Z\d_\.]+@[a-zA-Z_\.]*?\.[a-zA-Z\.]{2,6}
| |
| _select_isIsTokenStream |
Regex select IsTokenStream : [\s\,\;\-]+
| |
| _select_isLettersWithDotsFromStart |
Regex select LettersWithDotsFromStart : \A([\w\.]*)
| |
| _select_isPhoneNumber |
Regex select phoneNumber : [\+0^]{1,2}[\s]{0,2}([\d\(\)]{2,5}[\s\(\)\-\.\/\\]{1,2}){3,5}
| |
| _select_isPostOfficeNumber |
Regex select PostOfficeNumber : (([\d]{5})|([\d]{2}[\s]{1}[\d]{3})[\b]{1})[\W]{1}
| |
| _select_isRegexName |
Regex select RegexName : ([\w]{1}\.{1}\s{1}){2,}
| |
| _select_isStandards |
Regex select Standards : [A-Z]{1,5}[\s\-\:]*[\d]{2,5}[\d\:]*
| |
| _select_isYearNumber |
Regex select YearNumber : ([\d]{4}[\.])
| |
| _select_regexName |
Regex select regexName : ([\w]{1}\.{1}\s{1}){2,}
| |
| _select_rootDomainNameWithoutRelPath |
Regex select rootDomainNameWithoutRelPath : (?:http://)?(?:www\.)?([\w\d\.-]+)
| |
| _select_tokenSplitter |
Regex select tokenSplitter : (([\W\s\+\.\,]+){1,}$) -- the same contentToken class uses
| |
| _select_wordsFromDomainname |
2017 Regex select wordsFromDomainname : ([\w]{1}\.{1}\s{1}){2,}
|