There is something interesting here.
I just hope that regular expressions will not give you a headache…