Jump to content
Sign in to follow this  

Can StringRegExp find a URL in a text file?

Recommended Posts



watch the dots separate the domain and subdomain, upper&lower case and the underscore at the end of the URL ".....SuMRru_fs.jpg"

standar criteria are "http://" and ".jpg"

i wrote something about that ...

$asResult = StringRegExp($source,"http://[a-z]|[0-9]|[A-Z]|\.jpg",1)
If @error == 0 Then
    MsgBox(0, "the link is:", $asResult[0] )

thnx a lot anyway...

Chris Dimas (Speck)

the finest Blues Jazz Rock by VL and SpecKtotallynoob.com tutorials about SysAdmins NetAdmins SecAdmins

Share this post

Link to post
Share on other sites

StringBetween() "http://" and ".jpg" ????



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this