Remove alert, fix regex