http://apache.webthing.com/mod_line_edit/
LERewriteRule 
LERewriteRule from-pattern to-pattern [flags]
This directive defines a search-and-replace edit rule that will be applied to the text.
- The search string from-pattern may be a literal string or a regular expression. 
 - The replacement string to-pattern may be a literal string, or may include backreferences $1-$9 in the case of a regular expression match. 
 - The optional Flags argument may contain any combination of: 
- R - This rule is a regular expression search-and-replace. 
 - i - Use case-insensitive matching on from-pattern. 
 - m - Support multi-line regexp matching (in conjunction with the R flag and 
LELineEnd None). 
 - V - Support environment variables in to-pattern. The string ${var} will be replaced with the value of the environment variable var.