Hi,
You can change the separator in sed. Normally a forward slash is used (sed 's/../../'), but you can use any character you like (sed 's%..%..%').
This is done to avoid escaping certain characters. When a forward slash is used as separator, you need to escape that slash if it appears in the search and replace string.
About regular expressions:
- Book -> O'Reilly - Mastering Regular Expressions (ISBN 1-56592-257-3)
- On-line ->
Regex Tutorial, Examples and Reference
Hope this helps.