Jump to content

Can StringRegExp find a URL in a text file?


speck
 Share

Recommended Posts

http://alphanumerical.alphabetical.com/alphanumerical/alphanumerical/2857567560056822654SuMRru_fs.jpg

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] )
EndIf

thnx a lot anyway...

Chris Dimas (Speck)

the finest Blues Jazz Rock by VL and SpecKtotallynoob.com tutorials about SysAdmins NetAdmins SecAdmins
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...