To avoid this error, you should replace +
with a region like {0,10}
:
([a-z])(?!.*\1)(?<!\1.{0,10})([a-z])(?!.*\2)(?<!\2.{0,10})(.)(\3)(.)(\5)
More Related Contents:
- Backreferences in lookbehind
- how to write regex for this expression in java
- Regular expression for SSN and phone number [closed]
- Regex for converting xml tags key to camel case
- How do i find the first un-escaped quotes in Java?
- Incrementing only the digits from an alphanumeric string
- Specific String validation using regex
- Regexp Java for password validation
- Create array of regex matches
- Split string into array of character strings
- List of all special characters that need to be escaped in a regex
- Regular expression to match URLs in Java
- Using Java to find substring of a bigger string using Regular Expression
- Regex date format validation on Java
- Remove trailing zero in Java
- Are non-capturing groups redundant?
- Can I improve performance of this regular expression further
- method matches not work well [duplicate]
- Regular expression matching fully qualified class names
- Check if string ends with certain pattern
- Java regex to match start/end tags causes stack overflow
- Java String.replace/replaceAll not working
- How to replace all characters in a Java string with stars
- Regular Expressions on Punctuation
- Split string into repeated characters
- How can split a string which contains only delimiter?
- Regular expression to get an attribute from HTML tag
- Issue with Java Regex \b
- Java’s Scanner vs String.split() vs StringTokenizer; which should I use?
- java regex pattern unclosed character class