Article 52ZTK PHP strip all non print characters except new lines

PHP strip all non print characters except new lines

by
fakie_flip
from LinuxQuestions.org on (#52ZTK)
https://alvinalexander.com/php/how-t...-string-regex/

I'm trying to remove all non-printable ascii without removing new lines. The code above works except that it removes new lines also.latest?d=yIl2AUoC8zA latest?i=9P1JXW1NKCg:twDyN4xs0Vw:F7zBnMy latest?i=9P1JXW1NKCg:twDyN4xs0Vw:V_sGLiP latest?d=qj6IDK7rITs latest?i=9P1JXW1NKCg:twDyN4xs0Vw:gIN9vFw9P1JXW1NKCg
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments