Finding wildcards with instr? (1 Viewer)

wackywoo105

Registered User.
Local time
Today, 02:29
Joined
Mar 14, 2014
Messages
203
I'm trying to find a sting like "AFE43542" within a web page html with instr. The string will always be of the format [a-z][a-z][a-z]#####.

I've used
Code:
"[a-z][a-z][a-z]#####"
and
Code:
"???#####"
Istr never finds the match.

What am I doing wrong?
 

Mike Krailo

Well-known member
Local time
Today, 05:29
Joined
Mar 28, 2020
Messages
1,044
Maybe look into regular expressions HERE.
Code:
[a-zA-Z][a-zA-Z][a-zA-Z][0-9][0-9][0-9][0-9][0-9]
 

wackywoo105

Registered User.
Local time
Today, 02:29
Joined
Mar 14, 2014
Messages
203
Thanks. I knew I was having another brain freeze moment

Code:
Me.EdgeBrowser0.RetrieveJavascriptValue("document.documentElement.innerHTML") Like "*[a-z][a-z][a-z]#####*"
 

Users who are viewing this thread

Top Bottom