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 -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -