How to filter the results of content resolver in android?
<p>I would like to get user contacts and then append some kind of regular expression and append them to a list view. I am currently able to get all the contacts via </p>

<p><code>getContentResolver().query(People.CONTENT_URI, null, null, null, null);</code> </p>

<p>and then pass them to a custom class that extends <code>SimpleCursorAdapter</code>.</p>

<p>So I would like to know how to get only the contacts that match a regular expression and not all of users contacts.</p>
