[ \t]
Would match a space or a tab. To match any number of these (including 0) you could use the *
quantifier:
[ \t]*
Use the +
quantifier if you mean 1 or more, eg: [ \t]+
If you mean any whitespace you could use \s
instead of [ \t]
.