Initial idea yet regex might be a better bet