New function formatInput() to transform filters input