Important

You are seeing the previous version of the new Alura experience we are preparing for you. Soon, it will get a brand-new visual identity designed to boost your studies!

1
reply

Outra solução mais legivel o secreto

^Z[0-9]+(\w)Z[0-9]+(\w)Z[0-9]+(\w)Z[0-9]+(\w)Z[0-9]+(\w)Z[0-9]+(\w)Z[0-9]+(\w)Z[0-9]+(\w)$

é maior mas fica mais legivel as classes

1 reply

Oi Luzineide, tudo bem?

Obrigada por compartilhar com a gente a sua regex! Lembrando que é possível escrever uma regex de várias formas diferentes :D

Parabéns por praticar.

Um abraço e bons estudos.