If statement to check answer

The user needs to submit a dollar amount answer. They could write is several ways. I’m trying to accomodate it with the code below. It always evaluates it as the wrong answer (the else).

Why won’t this code work?

submit_btn.onRelease = function(){
	if (answer_txt.text == "300 000" || answer_txt.text == "300000" || answer_txt.text == "300 000.00"){
		correct_txt.text = "Yes, the difference between savings is $300 000.00";
	}else{
		correct_txt.text = "That is incorrect. The difference between savings is $300 000.00";
		}
}

thanks if any one has any clues,