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
Best Smart UPS
Please help!! Extremely URGENT!!!
Folders Keep Being Switched to 'Hidden'
connection string
Why "msstd" is necessary in Outlook anywhere?
How to choose Internet Wireless for PC Desktop + Different between Cable and Wireless ?
how many threads can I create
Site-to-Site VPN with Cisco 2811 and Checkpoint Firewall R70_30
Windows 7 printing on Citrix Windows Server 2003
embedded media player