Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using a variable in a regular expression

Status
Not open for further replies.

thegame8311

Technical User
Jan 6, 2012
133
0
0
US
is it possible to use a variable as part of a regular expression

Code:
Lc = 1

re1.Pattern = "Lc[a-z]"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top