DIM sPattern AS String = "s/\x05\x05\x03\x03(\w+)\r\n//" This is not a valid syntax in Gambas regexp. Error bad character constant in string... The part with the problem is (\w+) Anybody has suggestions to get it working? Thanks in advance. Regards, Ron.