View Single Post
  #2 (permalink)  
Old 03-27-08, 01:10 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
I got it.

i can use this

[a-zA-Z]+(?=( )of( )lung)

but take the below example

"lung cancer of lung is called as something of lung "

now my requirement is i want "cancer lung" and "something lung" through one regular expression.



any help.
Reply With Quote