What are Regular Expressions?
A Regular Expression, REGEX or REGEXP for short, is a special text string for describing a search pattern.
Wildcard examples (where * can be anything)
Target: www.example.com/user/<user_id>/profile/(numeric user_id)
Wildcard excluding a certain pattern
Target: All pages which match the pattern but do not include the word "article" or "post" www.example.com/pages/*/subpage/
Excluding certain words or patterns in a URL
Target: All pages which do not include "/somepage" and "/someotherpage"
Target: Pages which include the word "page" and do not include "somepage":
Multiple pages which don't follow any pattern
Target these three pages: