I need to match the following line using regular expression.
Single lines contain the following things (example):
2010/11/29 09:37:55 (2768)FMS:600 ERROR> Received SIGWARNING: nonstandard use of escape in a string literal
2010/11/29 09:37:55 (2768)FMS:600 ERROR> Received SIGNOTICE: exp: select * from follow_me_switch.call_from_entries where follow_me_group_id in ( select id from follow_me_switch.follow_me_groups where profile_id =105 and follow_me_switch.call_from_entries.call_from_number !~ \'^s*$\'
From those lines I need to match and remove the date and time stamps until the ERROR>
How can we match this using efficient regular expression?
Thanks in advance.
In case you meant every line that has error in db_wrapper that would be something like
or much easier, just