Filter string flag names