⚠️ NOTE: If you have any questions regarding the content presented below, feel free to post them here. I will be happy to help anyway I can! Regex is a big passion of mine and I look forward to hearing from you. 😁
An alternation is donated by the pipe character
|. What this character tries to do is match left of pipe and if that fails tries the next alternative. Think of it like an if statement.