Change all ^s to ~s