How to implement smart search in the string?

Tell me, is it possible to implement smart search in the string?

There is a phrase

$text = 'Hello, world!';

If I were looking for a match on the word "Hello" - I will return true. And how to make it so that if I search for the phrase Hello - I also returned true?
June 7th 19 at 14:48
0 answer

Find more questions by tags PHP