filmov
tv
VBScript Basics, Part 72 | RegExp ( Submatches )
Показать описание
| VBScript (.vbs) Tutorial
Sometimes in order to match with something your pattern has to be bigger than you wanted, but with submatches you can group which parts of your bigger pattern you actually wanted.
| Code Example
Set reg = New RegExp
reg.Pattern = "your pattern(submatch 0)other stuff(submatch 1)"
reg.Global = True
For Each match In reg.Execute("your string)
msgbox match.Submatches(0)
msgbox match.Submatches(1)
Next
Sometimes in order to match with something your pattern has to be bigger than you wanted, but with submatches you can group which parts of your bigger pattern you actually wanted.
| Code Example
Set reg = New RegExp
reg.Pattern = "your pattern(submatch 0)other stuff(submatch 1)"
reg.Global = True
For Each match In reg.Execute("your string)
msgbox match.Submatches(0)
msgbox match.Submatches(1)
Next
VBScript Basics, Part 72 | RegExp ( Submatches )
VBScript Basics, Part 70 | RegExp (Test & Replace)
VBScript Basics, Part 71 | RegExp (Execute)
VBScript Basics, Part 51 | Execute - Read from another vbscript file.
VBScript Basics, Part 61 | Join Multidimensional Array (Arrays)
VBScript Basics, Part 63 | Change and Remove (Dictionary)
VBScript Basics, Part 64 | Multidimensional (Dictionary)
VBScript Basics, Part 38 | BrowseForFile
VBScript Basics, Part 65 | Manipulating Clipboard Text
VbScript Functions
QTP Part 72 Test Extensibility Part 1
Environment Variables ( add; change; remove ) | VBScript Examples
#4 - Funzioni - Tutorial VBS Visual Basic Script [ITA]
VBScript - Numbers Function
SortedList - Visual Basic Programming (VB.NET & VBScript)
VB script: galactic2
BitArray - Visual Basic Programming (VB.NET & VBScript)
VBScript Fake Virus AlertBox Tutorial!!!
72 If Then ElseIf Else Endif en VBA
How to create a Simple Bot using VBScript
Using Regular Expressions in VBScript to get rid of punctuation and whitespace
01 - Regular Expressions ( [] {} () | ? )
Month Name In Vbscript Tamil
QTP Tutorial 133 : QTP VBScript Programming Part 12 |QTP Tutorial for Beginners.
Комментарии