aspose 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 Java 8 in Action this week in the Java 8 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: 18136
    
  39

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)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regular Expression
 
Similar Threads
CDATA inside CDATA
CDATA Whitespace issue
Anything wrong this regular expression
Struts2 Regex Validation killing me, Please help
Regex for adding CDATA to XML nodes