Added regexp replace.