This demo shows how to use the regular expression support in PHP. These functions allow you to perform regular expression operations on strings. The regular expression language used is compatible with the extended regular expression syntax as specified in the egrep man page on most Unix systems.