Is there any way to parse tabs inputted into a textarea? For example, to parse returns and double-spaces I use... $text = str_replace("\n", "<br />", $text); $text = str_replace(" ", " ", $text); PHP: