Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.
After playing around with the RegEx tool (which I knew could get the answer, just not how), I was able to get the right settings to get the result I needed.