regex for specific username format : There's a ton of these things here and I really suck with regex/ it's been way too long since I've used it so a little bit of guidance here would be amazing.

My username criterion is simple: <br>
 - Must contain 1 or more letters, anywhere <br>
 - May contain any amount of numbers, anywhere <br>
 - Can contain up to 2 - or _, anywhere <br>


^[0-9\\-_]*[a-z|A-Z]+[0-9\\-_]*$ is what I'm using right now but this will reject usernames such as 123hi123hi, or hi123hi - I need something less string location dependent.

Thanks for any help!

I'm using ruby on rails to match strings against this.