Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2013
    Posts
    2
    Rep Power
    0

    Default 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????
    Last edited by Debarpita Paul; 01-08-2013 at 05:14 PM.

  2. #2
    eRaaaa is offline Senior Member
    Join Date
    Oct 2010
    Location
    Germany
    Posts
    787
    Rep Power
    5

    Default Re: validation checking using regular expression...

    Quote Originally Posted by Debarpita Paul View Post
    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?

  3. #3
    Join Date
    Jan 2013
    Posts
    2
    Rep Power
    0

    Default Re: validation checking using regular expression...

    my question is how to write that program??

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is online now Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,236
    Rep Power
    19

    Default Re: validation checking using regular expression...

    Quote Originally Posted by Debarpita Paul View Post
    my question is how to write that program??
    Recommended reading: How to ask questions.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  5. #5
    Sierra is offline AN21XX
    Join Date
    Mar 2012
    Location
    Munich
    Posts
    297
    Rep Power
    3

    Default Re: validation checking using regular expression...

    Quote Originally Posted by Debarpita Paul View Post
    my question is how to write that program??
    Get an IDE
    Learn Java
    Write your code and save it
    Compile and run it.
    I like likes!

Similar Threads

  1. Regular expression
    By Krik in forum New To Java
    Replies: 3
    Last Post: 10-26-2012, 05:06 PM
  2. Regular Expression Help
    By niketanand in forum Advanced Java
    Replies: 1
    Last Post: 06-24-2011, 04:56 PM
  3. Regular expressions checking 
    By luoluo in forum Advanced Java
    Replies: 2
    Last Post: 04-23-2010, 01:54 PM
  4. regular expression
    By QkrspCmptPop in forum Advanced Java
    Replies: 8
    Last Post: 01-20-2010, 03:55 AM
  5. regular expression
    By ras_pari in forum Advanced Java
    Replies: 27
    Last Post: 10-07-2009, 12:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •