Regex101 allows you to write regular expressions and test them on strings. It is able to generate an explanation of your regex as you type. There is a quick reference guide, with tokens sorted into categories such as Anchors, Meta Sequences, Quantifiers, Group Constructs, and more.