I have a random math generator and a .get command that sets the value from the returned data. For instance the input #Captcha would get it's value as such:
$.get('PHP/random.php',
function(data) {
$("#Captcha").val(data);
});
If the returned data was something like 2 + 5 how would you create a rule that turns the value into two integers, strips out the "+" and then combines the two integers?