954,523 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Need Regular expression in java

Hi I have a String as "ABC("zscxfdb") OR DEF("ghg5dfg5") OR GHI("sdghrhrhr").

I should take the String present inside DEF() alone..

Can anyone help me in this..

Thanks in advance...

Narayanan87
Newbie Poster
6 posts since Dec 2008
Reputation Points: 10
Solved Threads: 0
 

You do this using the java.util.regex package.
Tutorial here: http://docs.oracle.com/javase/tutorial/essential/regex/

Should you encounter problems, feel free to ask :)

Aviras
Junior Poster in Training
82 posts since Jul 2008
Reputation Points: 24
Solved Threads: 8
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: