Apache Pig Latin using matches
<p>I am trying with Apache Pig latin to FILTER url which matches particular pattern.</p>

<p>for ex:
**<a href="http://www.example.com/homePage.do?locale=en_US" rel="nofollow">http://www.example.com/homePage.do?locale=en_US</a></p>

<p>I want to filter all the URL that matches </p>

<p>locale=en_US (or)
locale=en_CA</p>

<p>Please need help on resolving this.</p>