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
How to send a POST value with javascript onKeyPress
Receive Error Message When Installing Any Application
Embed excel spreadsheet into 2007 access form
Windows Vista/7 Network Issues popping up..no connection to outside world
msaccess help with sql query
HTC HD2 stopped syncing since moving to Exchange 2010
How detect if the file being used by another process
Folder location for Logon scripts
How to manage permissions for my helpdesk team
Specify a Path