I think you can get the information you need here:
Regular Expressions info[
^]
When it comes to characters that are defined with a special meaning, you need to escape them with a backslash (\).
Example:
[0-9\-]+
or
[0-9]+\-[0-9]+
Remember to escape once more if you your language require that.