Regexplugin

Rewrote the regex plugin to handle input which is true to sed.

It even supports case insensitive, replacefirst, replaceall or replace Nth.