will replace regexp with explode/implode