I would like to identify 2 types of patterns in a string. They are:
1) xxx:xxxxxxx:xxx.xx
2) xxx.xxx.xxx.xx:xxxxxxxxxx
Basically I want to know how to identify a literal "."
in a string.
Since .
means any character, what should I type when I am looking for a literal "."
?