Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. A regular
expression ( also "RegEx" or "regex" ) is a string that is used to
describe or match a set of strings according to certain syntax rules.
The specific syntax rules vary depending on the specific implementation,
programming language, or library in use. Additionally, the functionality
of regex implementations can vary between versions. Despite this
variability, and because regular expressions can be difficult to both
explain and understand without examples, this article provides a basic
description of some of the properties of regular expressions by way of
illustration.