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 do I uninstall unsigned system drivers
A data key for DataTable?
How to unzip a single file from a zipped subdirectory
RSS feed creation from bookmark tool
VBS Count Down Date Script that will Lock User AD Account
How to split the string using "\n" in C#
Ignoring managed exception from unknown thread.Ignoring managed exception from unknown thread.
Server 2003 SP2 in NT Domain
how to display character & in wpf
MaxNameTableCharCount problem