Ad

How To Find Irregular String In A Database Column With Laravel

- 1 answer

I have a table named product and I have a product in this table named "Nike shoes". Now when I write for example "niksho" or "nsh", return to me "Nike shoes " record.

Ad

Answer

Writing such an algorithm can be a big task, if I have to do such a thing I will first try to find some API to do that

You can start by looking at this post Accessing Google spelling/suggestion API via C#

And if you have time you can always start writing yours that would be accustomed to your requirements

Ad
source: stackoverflow.com
Ad