javascript - Find a (substring) inside a string -


I am working on a search function which can show partial results according to your search variables

For example, we are searching for a word " abcde "

We have a record of stars

"echopesaiya"
"
"abcfeqs"
"cdeeqwee"

Then the result "Uh * ABC * sdwe" - ewq * < Em> abcde * "-" * ABC * feqs "-" * cd * eqwee "

Is it possible to use Jquery Is doing Add!

Searching for strings in strings is done using regular expressions.

RegEx can be used in javascript as well as in other languages. It is universal.

RegEx is roughly used for data validation, but substrings Can also be used for search.

Internet on this topic And there are plenty of guides.

I found one for you. Take a look :)


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -