House of Fusion
Home of the ColdFusion Community
Hostmysite Dedicated Hosting
Subscribe Now
Fusion Authority Quarterly Update - ColdFusion 8 Special Edition

For ColdFusion hosting try HostMySite.com.
Search over 2,500 ColdFusion resources here  >>>      

Basic Rules

  1. Ascii characters
    1. A character equals itself unless it is a special character.
    2. Matches are case sensitive unless the NoCase version of the RE functions are used.
  2. Escape
    1. Special characters can be treated as standard ascii characters by prefixing them with a backslash(\).
    2. Certain normal characters prefixed with a backslash will turn into special characters.
  3. period (.) - equals any character
  4. A pipe (|) will act as an OR between whatever is on one side or the other
    • this|that - matches this or that
  5. Positioning
    1. Use a carat (^) at the start of an expression to signify the start of a string.
      • ^michael
    2. Use a dollar sign($) at the end of an expression to signify the end of a string
      • michael$
  6. Both can be used together to make a more exact match
    • ^michael$