-4

How can I get a match when numbers are 5 or 7 digits long with these parameters?

enter image description here

Biffen
  • 6,249
  • 6
  • 28
  • 36
b00sted 'snail'
  • 354
  • 1
  • 13
  • 27

1 Answers1

0

If I understand your question correctly, this (visualize here) should do it:

`/\b([5-9]\d{4}(?:\d{2})?)\b/`
Will
  • 24,082
  • 14
  • 97
  • 108