Regular Expression Syntax

3rd March 2011 by Joe Gardiner

The .htaccess files are written using ‘regular expressions’, and some rules specific to Apache. Here is the basic RegEx syntax you need to write your own Regular Expressions in your .htaccess files. Syntax Description Examples . this matches any single …