Try to search your question here, if you can't find : Ask Any Question Now ?

regex to check string is certain length

HomeCategory: stackoverflowregex to check string is certain length
sourav asked 3 weeks ago

I am trying to write a regex to match pairs of cards (AA, KK, QQ ... 22) and I have the regex ([AKQJT2-9])1. The problem I have is that this regex will match AA as well as AAbc etc. Is there a way to write the regex such that I can specify I want to match ([AKQJT2-9])1 and only that (i.e. no more characters after).

1 Answers
Best Answer
Fernando answered 3 weeks ago
Your Answer

10 + 11 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com