It seems that my question is not well asked, that's why I am asking you to help me.
I have a chunk of html code when in <textarea> tag created with WYSIWYG editor.
Now before saving, on form submit, I would like to normalize the text inside by removing unneccessary whitespaces/spaces, have the code well formated with tabs, etc.
here is the code:
27 Июня
17:51:58 Познакомлюсь с девчонками из прибалтики Категория: Знакомства > Контакты по интересам Просмотров: 7
I wish this text is going in one row (single lined), but with correct use of spaces, dots etc. Is it possible somehow with PHP without need to write a function ?