How to make a search field?

I have some data about projects and users on a table, and I need to implement a search field, so the user can

filter this data and search for a specific project or user. 

How can I do this? 

I've been trying to make ajax search, but so far I've been unsuccesful

 

I have the same need, please help