Am having websites like (www.example.com and www.example.com.au) one for India and another one for Australia. My question is, if I search in google.com.au both links are displayed in search engine. If we search in Australia www.example.com website should be hide. Can you please tell me the solutions ?
Personally, I would not try to āhideā anything from Google. But, I know that you can specify for what country is your website for in Webmaster tools. Did you already do that?
It depends on your use case, but what I would do is that I would detect from where the person comes from and just add a small alert (or something similar) telling them that there is a specific version of the website for their country.
Also, the URL you gave us isnāt really possible (www.example.com.au), unless you own the domain name .com.au. Is it a sub domain like au.example.com? or a URL like example.com/au/ ?
EDIT: the tld .com.au exists, I didnāt even knew
As it isnāt going to be perfect as to which site gets displayed you might consider placing a link somewhere at the top of the home page of each that goes to the other so that those who end up on the wrong one can easily swap to the right one.
Itās true that you can adjust the International Targeting setting in Google Webmaster Tools - and thatās a useful thing to do. But itās just one of several signals that Google uses to determine which sites to show to searchers from a given country. Google also takes account of the top-level country code (au, in this example), the phyical location of the hosting, and possibly other signals such as the mailing address shown on the site.
As xMog rightly says, itās better not to try to influence Google in this way. Better to focus on a method of alerting your visitors to the fact that a separate version of the site exists for their country, and giving them an easy way to reach it.
Donāt be in such a hurry. It can take days or weeks for Google to take notice of the change. And even then there is no gurantee it will make a big difference.