Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
MSSQL - replace non-printable non-ascii characters
select dbo.RegexReplace(t.my_column, '[^\x20-\x7E]', '~') as scrubbed
from my_table t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.