Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $text = preg_replace('/([^,][\.|"|!])\r\n([A-Z|"])/m', '$1</p><p>$2', $text);
- $text = preg_replace('/([^,][\.|"|!])\r\n([A-Z|"])/m', '$1</p><p>$2', $text);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement