Microsoft
Software
Hardware
Network
Question : Delete blank line from textarea
Hello Experts,
How to delete blank lines (first, on top of the document, and last, on the end, but at first check, there are blank lines or not).
Thanks
Answer : Delete blank line from textarea
http://programming-oneline
rs.blogspo
t.com/2006
/03/remove
-
blank-emp
ty-lines-p
hp-29.html
$blanksremoved = preg_replace("/(^[\r\n]*|[
\r\n]+)[\s
\t]*[\r\n]
+/", "\n", $_POST['txtrareaname']);
Random Solutions
SQL 2005 script to backup database
desktop folders reappearing
SQL Reporting hide null data
Sftp Connection in Delphi
Cannot connect to Windows Update on Dell laptop
Addiing unallocated disk space to an aray
Cannot access voicemail on Exchange 2010 from OCS 2007R2. Failure Type 80004005
PHP
XML Read issue
Antimalware Doctor Spyware - cannot remove