Fwiw I just thought the same, parse (don’t validate) the bits you like and recreate / reject the input.