Added text-event-regex-replace.pl

- also removed debug code from viewlog.pl