Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How Can I Use Regular Expression on Tree View Node Object?
#2
Not Solved
Hi,

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
Reply


Messages In This Thread
RE: How Can I Use Regular Expression on Tree View Node Object? - by Ankesh - 12-26-2011, 06:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to select tree object Chitra 0 1,395 11-19-2018, 04:07 PM
Last Post: Chitra
  Select 'Letter Queue' from Tree View regardless of the number of messages in it. ambica.agarwal@gmail.com 1 1,608 07-05-2018, 05:27 PM
Last Post: Ankur
  Need Any digit in xpath path using Regular expression Priyam 1 3,484 10-05-2016, 11:05 AM
Last Post: Ankur
  Regular expression to read two words in lowercase, uppercase and with and without spa sarahq49 1 3,351 04-09-2015, 01:56 AM
Last Post: sarahq49
  Regular expression and script optimisation Padmavathy 1 3,817 03-30-2015, 11:46 AM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)