How to search sharepoint list results using REST

I have sharepoint list. I want to have a text box where user types a letter and click on search button which should search the sharepoint 2013 list.

I want to develop this using REST API or JSOM, so that I can deploy the script in content editor web part.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rainer JeschorCommented:
which SharePoint edition?

Using the REST API, you have to build this query (assuming you search inside a text column):
_api/web/lists/getByTitle('YOURLISTTITLE')/items?$filter=substringof(SEARCHVALUE,YourField) eq true

Open in new window

List of filter operations (and limitations on User and Multiselect fields):


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bujjigaduAuthor Commented:
Absolutly, I would like to search based on the html text column that I enter. Second thing is I want to search based on alphbets.

For example - I want to list A,B,C,D....Z at the top. When I click on letter 'A' it should go and search the entire list starts with letter 'A' and bring back the results and similary for other alphabets. Please suggest how to do this. I'm new to REST API
bujjigaduAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.