I need a regular expression which accepts only characher(A,a,B,B like).
And characher size is only 2.
Means I should enter only values like MH.
please help me
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit ChoudharyPosted Feb 16, 2011, 6:54 AM
use this [a-zA-Z]{2} as a regular expression.
Thanks.
PankaJ DPosted Feb 16, 2011, 7:00 AM