Hi, just tried the posted code. The result: [2010-12-23 09:30:00, Hello world] [2010-12-23 09:30:00, Hello world] [2010-12-23x09:30:00, Hello world] [2010-12-23x09:30:00, Hello world] [2010-12-23 09:30:00, Hello world] Seems that the escape works and the blank alone as well, the 'x' is correctly considered and "(?im)" is useless. Can't figure out why my code fails... Anyway thank you Rob