Results 1 to 3 of 3
  1. #1
    Claymz is offline Member
    Join Date
    Apr 2011
    Posts
    25
    Rep Power
    0

    Question regex "iteration"

    Hi,

    i have this regex code:

    Java Code:
    [0-9A-Z][0-9a-z]{1,14}[B]([ ][0-9A-Za-z][0-9a-z]{0,14})[/B]
    what i want now, is to make bold code to be able to do this [[ ][0-9A-Za-z][0-9a-z]{0,14}]{1,4}

    That is, make sure this section is typed in at least once, but not more then 4 times.

    How could i do that?

    Ty!

  2. #2
    Claymz is offline Member
    Join Date
    Apr 2011
    Posts
    25
    Rep Power
    0

    Default

    no on?:confused:

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,458
    Rep Power
    20

Similar Threads

  1. Replies: 3
    Last Post: 10-12-2010, 05:21 PM
  2. Replies: 1
    Last Post: 01-21-2010, 10:20 AM
  3. How "Pattern.matches(regex, input)" function works?
    By kishan in forum Advanced Java
    Replies: 2
    Last Post: 04-26-2009, 01:46 AM
  4. Replies: 2
    Last Post: 01-24-2009, 07:56 PM
  5. Replies: 1
    Last Post: 10-20-2008, 08:35 AM

Posting Permissions

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