validation checking using regular expression...
i hava a class which will take some inputs / will initialize item_price, item_amount,company_name,item_name. i need to make sure people don't input xxx instead of price. Here where the validation comes in. i don't want them to have as Item name value 54321.032432. So I validate the input both from the user and the database.
what will be the program????
Re: validation checking using regular expression...
Quote:
Originally Posted by
Debarpita Paul
i am having trouble writing the program...pls pls help
That`s not good, but what`s your question? Without a question, nobody can help you....And maybe (especially for validation) some futher information are missing?
Re: validation checking using regular expression...
my question is how to write that program??
Re: validation checking using regular expression...
Quote:
Originally Posted by
Debarpita Paul
my question is how to write that program??
Recommended reading: How to ask questions.
db
Re: validation checking using regular expression...
Quote:
Originally Posted by
Debarpita Paul
my question is how to write that program??
Get an IDE
Learn Java
Write your code and save it
Compile and run it.