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:
solved Regular Expression For indenfity google search pages [closed]