I would like to get the regular expression to identify whether a url is a google search home page or search results page .
You can use something like this :
(https?:\/\/www\.google\.(?:(?:com)|(?:co\.in)).*#q=.+)
For Google search result url.
Since in Google the searched word will be there , after q=
Explanation:
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments