PHP: Regular expression that does not take more than 1 consecutive whitespaces

前端 未结 0 1295
忘掉有多难
忘掉有多难 2020-12-30 13:08

I am trying to create a regex pattern that matches below criteria in PHP:

  • character count between 4 to 40
  • no more than 1 consecutive whitespaces in the
相关标签:
回答
  • 消灭零回复
提交回复
热议问题