Regular expressions are a powerful way of specifying a text-matching pattern in a concise way. They are very useful in text-processing applications, so D provides a regular expression library std.regex in its standard library Phobos.