File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Regex Question from K&B 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 Question from K&B" Watch "Regex Question from K&B" New topic
Author

Regex Question from K&B

ayush raj
Ranch Hand

Joined: Jan 15, 2012
Posts: 60
Given the command line invocation: java regex2 "\d*" ab34ef
What is the output of following code :



Answer given is : 01234456

Couldn't get it !! Please someone explain .
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42929
    
  68
Check the ScjpFaq; there's an entry for this.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regex Question from K&B