Regex to match prefix followed by . and alphabets [closed]

Something like this?

^PREFIX(\.[a-z]+)+$

Example matches:

PREFIX.test.test
PREFIX.test.test.test
// and so on

Leave a Comment