This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 18501
    
  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)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regular Expression
 
Similar Threads
Regex for adding CDATA to XML nodes
Anything wrong this regular expression
CDATA Whitespace issue
CDATA inside CDATA
Struts2 Regex Validation killing me, Please help