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 class 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 class" Watch "Regex class" New topic

Regex class

karnatam narendraprasad
Ranch Hand

Joined: Mar 01, 2007
Posts: 30
what is Regex it use.
can any one explain with example.
Deepak Bala

Joined: Feb 24, 2006
Posts: 6662

Regex is used for simple/advanced searching of text patterns using expressions. Google for more information and examples.

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Read Sun's tutorial - it has a very good introduction to regular expressions.

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 class
It's not a secret anymore!