I need help creating a regular expression for JavaScript validation. The pattern I'm looking to match is numbers followed by an underscore, and then more numbers.
For example: 123456789_123456789
The length of the string can vary - it can have any number of digits, an underscore, and then another set of digits.
I've tried using [0-9]_[0-9]
, but I'm wondering if there's a better way to achieve this. Any suggestions would be greatly appreciated.
Thank you, Sreekanth