Hi -

I've never tried using regular expressions with JS. Can someone help me

with a simple one?

I have a field that a user inputs that looks for an integer, or a some

integers with a decimal then does some calculations and converts it to

currency. Problem is, that if i have to recalculate, that field now has

a "$" in it which throws off calculations. I'd like to look at the

field and if there is a "$", strip it out, do the calculations, etc.

So, something like:

function getDollar() {

myAmount = window.document.form.amount.value;

//here is where i want to look for the $ sign...

Thanks,

Doug