Ways Prevent Members Posting Sensitive / Confidential Information

I’m completely new to Discourse so I’m not familiar with the tools at the moment. Would you mind showing me what the regex would look like for one of the examples, I’ve posted?

Also, where would I create the regex and apply it?