wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
It is sorta covered in the JavaRanch Style Guide.
subject: Regex: Quantifiers
Similar Threads
Greedy Quantifier + !!
Help required regarding splitting string in words in java
Regular Expression in java
Quantifiers and Greedy Quantifiers
Regex Problem