How to Match Either the End of a String or a Specific Character in Python Regex

How to Match Strings Not Starting With Pattern using Regex and Python

Regex to Match no space or one space in Python

python regex match examples