Meaningless Drivel is fun!
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
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.
I agree. Here's the link:
subject: Regex: Quantifiers
It's not a secret anymore!