regexp working, applying to interactive