
September 29th, 2007, 02:31 AM
|
| Administrator
Join Date: Jun 2007
Posts: 3,709
BRL$: 42,931.80 Thanks: 0
Thanked 14 Times in 10 Posts
Rep Power: 409 | | \n (return carriages) in preg_replace This adds a new line for every whitespace character:$after=preg_replace('/\s+/','\n\n',$before);I need it to replace any new line that contains extra whitespace characters with just a new line. I THOUGHT it should look something like... To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. | |
__________________ █ High Quality To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ Powerful To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts. █ Jobs In !!! - Post Jobs, Hire Employees, Create Blogs and
Earn Money. | | | |