Python How To Write A Regular Expression Which Matches A Pattern If

Python How To Write A Regular Expression Which Matches A Pattern If