0

I need to modify this pattern. Its working good when string have only one space between words. But I can have sometimes double space (I want only one), so I must add some count to my pattern, but I dont have idea how to do it

/^\w+( +\w+)*$/u
Bolek Lolek
  • 577
  • 2
  • 9
  • 22

0 Answers0