Link:http://output.to/sideway/default.asp?qno=180500021 Script, Scripting Language, VBScript elements, Server-Side VBScript Object Element RegExp Match Property
VBScript Properties of RegExp Match ObjectSome typical predefined Elements are.
FirstIndex Propertylast updated 12/11/2017is to return the position in a search string where a match of associated Match Object occurs. SyntaxSet rematvar=reobjvar.Execute(string).Item(key) rematvar.FirstIndex Remarks
Requirement5Applied toRegExp Object, Match ObjectLength Propertylast updated 12/11/2017is to return the length of a match of associated Match Object found in a search string. SyntaxSet rematvar=reobjvar.Execute(string).Item(key) rematvar.Length Requirement5Applied toRegExp Object, Match ObjectValue Propertylast updated 12/11/2017is to return the value or text of a match of associated Match Object found in a search string. SyntaxSet rematvar=reobjvar.Execute(string).Item(key) rematvar.Value Requirement5Applied toRegExp Object, Match ObjectSubMatches Propertylast updated 12/11/2017is to return all submatches of associated Match Object in form of SubMatches Object, called SubMatches Collection.. SyntaxSet rematvar=reobjvar.Execute(string).Item(key) rematvar.SubMatches Remarks
Requirement5Applied toRegExp Object, Match ObjectMatch SubMatches PropertyThe returns of the SubMatches Property of Match Object is a Collection of SubMatch Objects and is contained in a SubMatches Collection. Count Propertylast updated 12/9/2017is to return the read-only number of elements in the associated Collection or Object. Syntaxobjvar.Count ArgumentobjvarRequired. The variable name of the associated Object instantance.CountRequired Property Keyword. To specify the Count Property of an Object..Required. The dot notation used to access the Property of an object.Remarks
Applied toDictionary Object, Drives Collection, Files Collection, Folders Collection, Matches CollectionItem Propertylast updated 12/9/2017is to return the read-only item of an element in the associated collection or Object according to the specified key Syntaxobjvar.Item(key) ArgumentobjvarRequired. The variable name of the associated Object instantance.ItemRequired Property Keyword. To specify the Item Property of an Object.keyRequired. To specify the key used to return the item of the specified key..Required. the dot notation used to access the Property of an object.(…)Required. the brackets to enclose the parameters.Remarks
Applied toMatches Collection, |
Sideway BICK Blog 21/05 |