Regular Expression syntax: Same textbox - both text and numbers.

  • Thread starter Thread starter Sreedhar Vankayala
  • Start date Start date
S

Sreedhar Vankayala

Hi,

I have a simple textbox in a form page.

- If data not available, then user can enter the text "Not available"
or "Contact abc person".

- If data is available, then user enters the data in currency.

Given both conditions, how do I validate both scenarios. What is the
Regular Expression syntax ?

Thanks,

Sreedhar Vankayala
 
Hi,

Thanks for your reply. I did take a look at the page. But, wasn't sure
how can I get a syntax.

- If alpha numeric ignore
- If numeric, then format as currency (the page you sent will help)
- If text is as currency then format as currency.

Pls. advise.

Thanks
 
Back
Top