Link to home
Start Free TrialLog in
Avatar of maqskywalker
maqskywalker

asked on

using regular expression with javascript

Hi experts,

I have this example fiddle
https://jsfiddle.net/r2d22k18/oyhg1je0/1/

In this example I prevent users from typing the symbol > in a textbox.

How do i do the same thing, but using a regular expression?
Avatar of leakim971
leakim971
Flag of Guadeloupe image

let's say the key down don't put the corresponding key in the textbox
when you want to check the textbox WITH the value inside
so this code is not applicable
ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of maqskywalker
maqskywalker

ASKER

thanks