The preg_match below matches 'empty' (0 characters) against the wildcard. I want to disable that:
.*? at the end of the pattern matches empty string. You need to make it match one or more characters using
Now, it requires at least 1 char after
Note the dot must be escaped to match a literal dot.