12-26-2011, 06:11 PM
Hi,
Where do you want to use the regular expression - Code or Object repository?
Object Repository
------------------
Code
------
Plz check if this helps.
Regards,
Ankesh
Where do you want to use the regular expression - Code or Object repository?
Object Repository
------------------
Code:
Loan;Contacts;[a-zA-z];[a-zA-z]
Code
------
Code:
Set RegEx = CreateObject("VBScript.RegExp")
RegEx.Pattern ="^Loan;Contacts;[a-zA-Z];[a-zA-Z]$"
result=RegEx.Test(strText)
If result=True Then
msgbox "Pass"
Else
msgbox "Fail"
End If
Set RegEx=Nothing
Plz check if this helps.
Regards,
Ankesh