Why is my regex to match words in PHP not working as expected? Ranged quantifiers on negated lookaheads are disqualifying unintended input strings
I am using PHP 7.4 as well as PHP 8.2 and I have a regex that I use in PHP to match words (names). To be completely honest, I barely recognize this regex monster I created. Thus this question is…