README.md

December 5, 2022 ยท View on GitHub

Using Regular Expressions

Description

Regular Expressions is a very powerful tool for string manipulations. I have developed an inhouse tool to to test and optimize pattern code. A tutorial is included that will get the new user "up to speed" in seconds!

More Info

This code requires VB6.0 and the richtextbox. It will work on Windows95/98/Nt/XP

Submitted On2003-10-03 15:56:52
ByEd Porter
LevelIntermediate
User Rating5.0 (30 globes from 6 users)
CompatibilityVB 6.0
CategoryString Manipulation
WorldVisual Basic
Archive FileUsing_Regu1653521032003.zip

API Declarations

Private Declare Function ClientToScreen Lib "user32" _
(ByVal hWnd As Long, lpPoint As Any) As Long ' lpPoint As POINTAPI) As Long
Private Declare Function LBItemFromPt Lib "comctl32.dll" _
(ByVal hLB As Long, ByVal ptX As Long, ByVal ptY As Long, _
ByVal bAutoScroll As Long) As Long
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" _
(ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, _
lParam As Any) As Long  ' <---
Private Declare Sub GetSystemTime Lib "kernel32" (lpSystemTime As SYSTEMTIME)
Private Type POINTAPI  ' pt
 X As Long
 Y As Long
End Type
Private Type SYSTEMTIME
    wYear As Integer
    wMonth As Integer
    wDayOfWeek As Integer
    wDay As Integer
    wHour As Integer
    wMinute As Integer
    wSecond As Integer
    wMilliseconds As Integer
End Type
Private Const WM_SETREDRAW = &HB