What is a regular expression?

A regular expression is a set of rules that describe text/strings and can be used to process text and extract matching information.

Common metacharacters

| | | yuan character description

| : — — — — – | : — — — — – |

| | ^ | start position