I want to get the same results if the words have empty space or no space.
For example, we have a product called "washing mach ine" and I want the washing machine to return if the user searches for the word "washing machine".
Conversely, if the user searches for the word "washingmachine", the washing machine will be returned
And consider that the searches in my system are based on Persian language
Examples in Persian are as follows
"ماشین لباسشویی -> ماشین لباس شویی"
"چراغ اویز -> چراغاویز"