Gossamer Forum
Quote Reply
Form Regex
I'm currently using JScript to keep commas out of a form box thus:

Code:
function filterNum(str) {
re = /^\$|,/g;
return str.replace(re, "");
}
Of course, the ideal solution would be a form Regex but I have no clue about these.

Any suggestions on what to use for this.

Many thanks.

- Eraser

Subject Author Views Date
Thread Form Regex Eraser 1797 May 8, 2001, 12:40 PM
Thread Re: Form Regex
Paul 1734 May 8, 2001, 12:52 PM
Thread Re: Form Regex
Eraser 1735 May 8, 2001, 1:00 PM
Post Re: Form Regex
Paul 1752 May 8, 2001, 1:05 PM