Guest User

Untitled

a guest
Jun 23rd, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. hello, this is some email copy-- check this out
  2. --
  3. Tom Foolery
  4.  
  5. echo substr($body, 0, strrpos($body, "n--"));
  6.  
  7. preg_replace('/--[rn]+.*/s', '', $body)
Add Comment
Please, Sign In to add comment