Something like this?
^PREFIX(\.[a-z]+)+$
Example matches:
PREFIX.test.test
PREFIX.test.test.test
// and so on
More Related Contents:
- My regex is matching too much. How do I make it stop? [duplicate]
- What do ‘lazy’ and ‘greedy’ mean in the context of regular expressions?
- Regular expression works on regex101.com, but not on prod
- Non greedy (reluctant) regex matching in sed?
- Match everything except for specified strings
- How to validate phone numbers using regex
- Regex whitespace word boundary
- Decimal number regular expression, where digit after decimal is optional
- Extract info inside all parenthesis in R
- Escape function for regular expression or LIKE patterns
- What regex can match sequences of the same character?
- How can I match a pattern as long as it’s not at the beginning with regex?
- What does ?! mean?
- How to extract string following a pattern with grep, regex or perl [duplicate]
- What is the meaning of + in a regex?
- Extract substring using regexp in plain bash
- Password validation regex
- Javascript regex to validate IPv4 and IPv6 address, no hostnames
- Search and replace in bash using regular expressions
- What’s wrong with my lookahead regex in GNU sed?
- Regex capitalize first letter every word, also after a special character like a dash
- Splitting String in VBA using RegEx
- Regular expression to remove one parameter from query string
- Difference between regular expression modifiers (or flags) ‘m’ and ‘s’?
- Splitting a string on the first space
- Sed to extract text between two strings
- Swift 3 – How do I extract captured groups in regular expressions?
- Remove everything except a certain pattern
- How does the ? make a quantifier lazy in regex
- Difference between regex quantifiers plus and star