File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Regular Expression Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Regular Expression" Watch "Regular Expression" New topic
Author

Regular Expression

kayanaat sidiqui
Ranch Hand

Joined: Sep 04, 2008
Posts: 122
Hi,

Can anybody help me out for reading value of "ClearCut"

The form is as follows--


Here i want a regular expression to have only "CDATA[Release11/Details(NUSENM_PR1)/PPanel.component".
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Sure. What have you got so far? Or are you looking for a tutorial/documentation recommendation on regex?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
kayanaat sidiqui
Ranch Hand

Joined: Sep 04, 2008
Posts: 122
Thanks Paul for the response.

Well i have a xml file in which "ClearCut" nodes appears more than once.
The need is to fetch the all values of the "ClearCut".

It would be great if you show me the way to write regex for the same.
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18754
    
  40

kayanaat sidiqui wrote:
It would be great if you show me the way to write regex for the same.


It would be great if you tell us how much regex you know. Quite frankly, regex is such a large topic that it will be difficult to get you a hint if you don't know anything about regexes.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
 
subject: Regular Expression