View Single Post
  #1 (permalink)  
Old 03-27-08, 01:20 AM
mohit's Avatar
mohit mohit is offline
Newbie Coder
 
Join Date: Jul 2006
Location: India
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Regular Expression

Hi all,

I want to do some reverse parsing on string using regular expression.
see e.g.
string is : "cancer of lung as cancer example to get cancer."

i want to write a regular expression which can return me
"cancer" only in case "cancer" following "of lung".

can We parse it using single regular expression?

Regards,
Mohit
Reply With Quote