Skip to content
Advertisement

Tag: textbox

how to restrict special characters and ( /,*,+) only

We have one text Field.We know how to restrict special characters.But We need Allow alphabet and Numbers and hyphen(-) only.No need Sepcial characters but except (-) . Give me any idea. Mycode: If we tried this code it’s restrict spectal charecters but it’s allow -,/,+ Please guide me only allow number and alphabet and hyphen only Answer replace this section:

Advertisement