Advertisement
Guest User

Untitled

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