Google serp url with or without WWW
===

I'm scraping google serp and would like to know how be sure my url is exactly the one is on the serp.

Example:

I'm searching for this url: loseweight.com

I parse a page and get the following result:

howloseweight.com

myloseweight.com

okloseweight.com

loseweight.com

How can I be sure that my parser will select the 4th and not the one that contains the same substring?

Google can output url with or without the WWW