I have text for example:

11.12.2009 or 7.8.2004 and how to get three variables, a, b, c
a = 7
b = 8
c = 2004

Thanks!