Click or drag to resize

imbStringSelect Class

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Static class with a number of Regex patterns and methods to test and retrieve
Inheritance Hierarchy
SystemObject
  imbSCI.Core.extensions.textimbStringSelect

Namespace:  imbSCI.Core.extensions.text
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static class imbStringSelect
Request Example View Source

The imbStringSelect type exposes the following members.

Methods
  NameDescription
Public methodStatic memberisAcronimByLength
Test if input matches [\s\b]{1}([A-Z]{3,4})[\s\b]{1}
Public methodStatic memberisAcronimIrregular
Test if input matches [\s]{1}([ZXCVBNMKLJHGFDSQWRTYP]{2,})[\s]{1}
Public methodStatic memberisEmailAddress
Test if input matches [a-zA-Z\d_\.]+@[a-zA-Z_\.]*?\.[a-zA-Z\.]{2,6}
Public methodStatic memberisLettersWithDotsFromStart
Test if input matches \A([\w\.]*)
Public methodStatic memberisPhoneNumber
Test if input matches [\+0^]{1,2}[\s]{0,2}([\d\(\)]{2,5}[\s\(\)\-\.\/\\]{1,2}){3,5}
Public methodStatic memberisPostOfficeNumber
Test if input matches (([\d]{5})|([\d]{2}[\s]{1}[\d]{3})[\b]{1})[\W]{1}
Public methodStatic memberisRegexName
Test if input matches ([\w]{1}\.{1}\s{1}){2,}
Public methodStatic memberisSingleToken
opposite to isTokenStream(String) test
Public methodStatic memberisStandards
Test if input matches [A-Z]{1,5}[\s\-\:]*[\d]{2,5}[\d\:]*
Public methodStatic memberisTokenStream
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"
Public methodStatic memberisYearNumber
Test if input matches ([\d]{4}[\.])
Public methodStatic memberselect_inlineTypedProperty
Match Evaluation for inlineTypedProperty : _select_inlineTypedProperty
Top
Fields
  NameDescription
Public fieldStatic member_select_inlineTypedProperty
Regex select inlineTypedProperty : (.*):(.*)=(.*);
Public fieldStatic member_select_isAcronimByLength
Regex select AcronimByLength : [\s\b]{1}([A-Z]{3,4})[\s\b]{1}
Public fieldStatic member_select_isAcronimIrregular
Regex select AcronimIrregular : [\s]{1}([ZXCVBNMKLJHGFDSQWRTYP]{2,})[\s]{1}
Public fieldStatic member_select_isEmailAddress
Regex select EmailAddress : [a-zA-Z\d_\.]+@[a-zA-Z_\.]*?\.[a-zA-Z\.]{2,6}
Public fieldStatic member_select_isIsTokenStream
Regex select IsTokenStream : [\s\,\;\-]+
Public fieldStatic member_select_isLettersWithDotsFromStart
Regex select LettersWithDotsFromStart : \A([\w\.]*)
Public fieldStatic member_select_isPhoneNumber
Regex select phoneNumber : [\+0^]{1,2}[\s]{0,2}([\d\(\)]{2,5}[\s\(\)\-\.\/\\]{1,2}){3,5}
Public fieldStatic member_select_isPostOfficeNumber
Regex select PostOfficeNumber : (([\d]{5})|([\d]{2}[\s]{1}[\d]{3})[\b]{1})[\W]{1}
Public fieldStatic member_select_isRegexName
Regex select RegexName : ([\w]{1}\.{1}\s{1}){2,}
Public fieldStatic member_select_isStandards
Regex select Standards : [A-Z]{1,5}[\s\-\:]*[\d]{2,5}[\d\:]*
Public fieldStatic member_select_isYearNumber
Regex select YearNumber : ([\d]{4}[\.])
Public fieldStatic member_select_regexName
Regex select regexName : ([\w]{1}\.{1}\s{1}){2,}
Public fieldStatic member_select_rootDomainNameWithoutRelPath
Regex select rootDomainNameWithoutRelPath : (?:http://)?(?:www\.)?([\w\d\.-]+)
Public fieldStatic member_select_tokenSplitter
Regex select tokenSplitter : (([\W\s\+\.\,]+){1,}$) -- the same contentToken class uses
Public fieldStatic member_select_wordsFromDomainname
2017 Regex select wordsFromDomainname : ([\w]{1}\.{1}\s{1}){2,}
Top
See Also