FIlename sanitization regular expression

Published on Tue Mar 01 2022

Useful for filename sanitization. Matches invalid filename characters. Can be used in preg_replace() calls.