PDA

View Full Version : EXTJS code for removing . , - : from macaddress EG: 12345678-12345678



sundar_r05
26 Dec 2010, 11:26 PM
Hello Friends,

IN EXTJS : Could you please help me removing the , . - ; from macaddress field which is given by user?

because my DB doesn't have like this.

+ also validation for IP address field.

Can i user replace function ? if yes how to use.

Thanks ,
sundar

VinylFox
27 Dec 2010, 6:06 AM
I would suggest learning about how to use regular expressions in JavaScript.