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

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
 
S

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top