Do you have an apache web server
what about a CGI script
I had my phone list in a CSV file, I then have two Perl scripts
The first one builds a web page with the list
The second is a CGI, that searches the HTML file and retrieves the matching lines.
You enter your search criteria in a simple HTML form.
I'm sure you could tailor it to your needs
If you like I can send you a link to see what it looks like