Regex with boundary for Java

后端 未结 0 742
日久生厌
日久生厌 2021-01-24 04:10

i have this regex ^[a-zA-Z]{2,10}$ witch matches words that is min. 2 characters long and max. 100 long. How do i add boundary to it so it do not match part of a a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题