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...
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...
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 :)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.