pvpkiran
03-18-2009, 10:56 AM
:confused:Hi all,
Can anyone provide me with the regular expression matching
this pattern
xx.xx
where x can be alpha numeric . But thr shud be only 2 letters or digits or combination of both. Not 1 or not more than 2
example
x.xx
xx.xxx
shud not match
I tried this , but didnt work
/([A-Z]|[a-z]|[0-9]){2}:([A-Z]|[a-z]|[0-9]){2}/
Help me out
Thank You
Can anyone provide me with the regular expression matching
this pattern
xx.xx
where x can be alpha numeric . But thr shud be only 2 letters or digits or combination of both. Not 1 or not more than 2
example
x.xx
xx.xxx
shud not match
I tried this , but didnt work
/([A-Z]|[a-z]|[0-9]){2}:([A-Z]|[a-z]|[0-9]){2}/
Help me out
Thank You