Without the additional \b before \1, three-letter words that are trailing substrings of other words would also match./\b(\w\w\w)\b(?=.*\b\1\b)/g
In reply to Re^3: regex issue
by kroach
in thread regex issue
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |