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
Employee does not show up in Global Address List unless using Advanced Find
grep lines from N days back
Resending Email in Thunderbird?
New-ADUser password issue
WinXP, Vista PE and, 2k3WDS?
Windows 7 Update Error
Removing WSUS from SBS 2008
Color coding results based on value in a table on an ASP page
Eclipse and mylyn-3.4.0.v20100608-0100
-e3.4
Form - Persistent Fields not working