File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Regex: Quantifiers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Regex: Quantifiers" Watch "Regex: Quantifiers" New topic

Regex: Quantifiers

srilavanyaa subramanian

Joined: May 30, 2006
Posts: 26
guys i am so confused with quantifiers.. could any one explain me how the quantifiers and group() work in pattern matching with an example.. in k&B book they had given some examples.. but i was not able to understand the concepts
[ December 09, 2006: Message edited by: Barry Gaunt ]
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Try reading Sun's Tutorial Section on Regular Expressions and do the practical examples.

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Don't get me started about those stupid light bulbs.
subject: Regex: Quantifiers
Similar Threads
Regular Expression in java
Regex Problem
Help required regarding splitting string in words in java
Quantifiers and Greedy Quantifiers
Greedy Quantifier + !!