In javascript - I want to extract only the numbers that are exactly 5-digits long.
let example = "The quick brown 22 333 44 55555
In this case, I want it to match and give me and 55555
Edit: I figured it out.
Since I want EXACTLY five digits:
.match(/(?<!\d)\d{5}(?!\d)/g)
This ensures it's exactly five and no other numbers that exceed it