A regex (a regular expression, regexp) is a sequencetextual form for specifying sets of characters that specifies a match patternstrings in texta regular language, often used for matching against. Use this tag for questions about regex as it pertains to developing/implementing a programming language, including for constructs that are not strictly regular such as backreferences. General regex questions are off-topic.