remove root regex