How to create a regex that will match an arbitrary sequence of spaces and tabs

前端 未结 4 1014
一生所求
一生所求 2020-12-29 01:33

Could anyone help me to assemble a pattern that matches an arbitrary sequence of spaces and tabs?

4条回答
  •  情话喂你
    2020-12-29 02:15

    ( |\t)+ will match a sequence of one or more spaces or tabs, is that what you're looking for ?

提交回复
热议问题