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
Post a Comment