RegExp exclusion, looking for a word not followed by another May 7, 2023 by Tarik You don’t say what flavor of regex you’re using, but this should work in general: Tom(?!\s+Thumb)