Regex 101 Exercise I4 - remove unprintable characters from a string

Exercise I4 - remove unprintable characters from a string

Given an input string, remove all characters that are not printable.