Regex: match any word (including foobar), but not foo : <p>I'm very new to regex and I've looked but haven't found the syntax I'm looking for.</p>

<p>I want to match any word (including foobar), but not foo. However, everythimg I've found catches foobar with foo.</p>

<p>What's the correct way to do this? I'm working in Python, if that matters</p>
