RegEx Groovy for assertion -
this question has answer here:
can regular expression following (only alphanumeric upper , lower case - after 12 characters) need use in in groovy assertion.
7aynehfjeee4-ajixjp2jg
assert '7aynehfjeee4-ajixjp2jg' =~ /^[a-za-z0-9]{12}-[a-za-z0-9]{9}$/
Comments
Post a Comment