Regular expression to match optional patterns

I know that Regex is a pretty hot topic and that there’s a plethora of similar questions, however, I have not found one which matches my needs. I need to check the formatting of my string to be as …