Regular Expressions 101

Community Patterns

Match any pattern abc.def.***.uvw.xyz hackerRank

0

Regular Expression
Java 8

"
^(.{3})[.](.{3}[.])*(.{3})$
"

Description

This regex matches any pattern like in the title. HackerRank challenge modified.

Submitted by anonymous - 2 years ago