darkmaster071 Posted April 18, 2009 Share Posted April 18, 2009 Um lets say ive got link "something.google.com/search" and i want to make a locationbar check for anything that might look like this "safdjiga.google.com/search"; "example.google.com/search".... So i dont know what is the first part of the link and i know what the other part should look like. How to make a check for only .google.com/search? Link to comment Share on other sites More sharing options...
Authenticity Posted April 18, 2009 Share Posted April 18, 2009 Dim $aMatch = StringRegExp($sURL, '(.*?)\.', 1) ; Or '\.google' or more specifically '\.google\.com/search'... If IsArray($aMatch) Then ConsoleWrite($aMatch[0]) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now