match: chr1:1223424-324324
chrX:2323-34
chrm:3-34324
chr20:34-4534
not match:sdf:3320-325325
cdsf3434:34234
And I found a web site about regular expression:
http://regexlib.com/Default.aspx
matches
non-matches