in reply to Regex question
See perlretut for a start
[] matches any single character from the set of characters within the []. () groups and captures matches. | allows matching of the expression to the left or right of the | (or). [htm|asp] matches any one of the characters a, h, m, p, s or t. (htm|asp) matches either htm or asp.
|
|---|