![Writing a regex to detect a range of numbers? Why not just parse the string to integers instead | by Weiyuan | Level Up Coding Writing a regex to detect a range of numbers? Why not just parse the string to integers instead | by Weiyuan | Level Up Coding](https://miro.medium.com/v2/resize:fit:1400/1*HYSA635MKRLgw_EEFvwLag.png)
Writing a regex to detect a range of numbers? Why not just parse the string to integers instead | by Weiyuan | Level Up Coding
![Writing a regex to detect a range of numbers? Why not just parse the string to integers instead | by Weiyuan | Level Up Coding Writing a regex to detect a range of numbers? Why not just parse the string to integers instead | by Weiyuan | Level Up Coding](https://miro.medium.com/v2/resize:fit:1400/1*wUXlfewsn9JzbloRRSLmQA.png)
Writing a regex to detect a range of numbers? Why not just parse the string to integers instead | by Weiyuan | Level Up Coding
![Writing a regex to detect a range of numbers? Why not just parse the string to integers instead | by Weiyuan | Level Up Coding Writing a regex to detect a range of numbers? Why not just parse the string to integers instead | by Weiyuan | Level Up Coding](https://miro.medium.com/v2/resize:fit:1400/1*YkGj9235XXYcjswbJROR4A.png)