regex - regular expression in Java (Spring configuration) with 2 specific characters in begining -


i need regular expression start 2 specific letters , 28 characters long. regular expression needed, in conjunction spring configuration, take regular expression.

i've been trying this, it's not working (^[ak][28]*)

if mean string should "akxxxxxxxx" (28 characters in total), can use:

^ak.{26}$ //using 26 since ak count 2 characters 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -