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

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -