Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Programming (http://www.domainnameforum.org/forumdisplay.php?f=18)
-   -   [php+regex] remove new lines (http://www.domainnameforum.org/showthread.php?t=119349)

webdev 08-24-2010 03:14 PM

[php+regex] remove new lines
 
Okay people say i have this: PHP: --------- $pattern = '#\[list\](.*?)\[/list\]#m'; //$replace = ; $text = preg_replace($pattern, '
  • $1
', $text); ---------


All times are GMT -4. The time now is 04:06 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.