Results 1 to 2 of 2
  1. #1
    heatblazer is offline Senior Member
    Join Date
    Nov 2012
    Rep Power

    Default Java RegEx explanation needed

    Hello, everybody. Since I came from Perl which is known for it`s monstrous powerful RegEx, I want to know how can I read regexes in Java. Let`s say:
    Java Code:
    which must match any number real or whole negative or positive. I want a simple example that explains:
    matching a whole or real number either negative or positive. That`d be sufficient.
    Last edited by heatblazer; 12-02-2012 at 08:28 PM. Reason: error text

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: Java RegEx explanation needed

    Read the API for java.util.regex.Pattern where you will find the regex constructs that are supported in Java.

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

Similar Threads

  1. Explanation of Java Zip code
    By joshhazel in forum New To Java
    Replies: 0
    Last Post: 01-25-2012, 02:59 AM
  2. Explanation of some Java certain aspects
    By Webstorms in forum New To Java
    Replies: 3
    Last Post: 10-24-2011, 12:37 AM
  3. Need a java code and explanation for this
    By Crossover in forum New To Java
    Replies: 4
    Last Post: 09-21-2010, 01:23 AM
  4. printf() method explanation needed
    By darek9576 in forum New To Java
    Replies: 1
    Last Post: 03-14-2010, 03:54 AM
  5. the explanation of output of simple java program
    By amol84 in forum New To Java
    Replies: 1
    Last Post: 11-06-2008, 05:06 PM

Tags for this Thread

Posting Permissions

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