I thought this question could be interesting to put it up here.
For example I have a string for search query like: "hello world"
There could be strings like this:
Hello World
Hello-world
hello!! world
How could you write an expression that will dynamically match these? If the expression works, it should works on this too:
Search: "Hi pals!"
Hi pals
Hi! Pals!
Hi-pals
Is it possible?