regex - word in sentence
Posted: Tue Jul 06, 2010 6:21 pm
Hi
I am quite new to regex and am looking all day long for a solution (my eyes are burning already
)
I have lets say three sentences:
this is a text with my specific word! What if the word is in? No Text found here.
I need the complete sentence where i.e. the word "text" (not case sensitive) is found.
So in this case the match would be
this is a text with my specific word! No Text found here.
But I have no clue and I tried a lot - I tried that much that I lost the line... I assume that this is easy for pros, but I am just in the beginning and regex is "difficult" ...
Can someone help me please.
Regards
KI
I am quite new to regex and am looking all day long for a solution (my eyes are burning already
I have lets say three sentences:
this is a text with my specific word! What if the word is in? No Text found here.
I need the complete sentence where i.e. the word "text" (not case sensitive) is found.
So in this case the match would be
this is a text with my specific word! No Text found here.
But I have no clue and I tried a lot - I tried that much that I lost the line... I assume that this is easy for pros, but I am just in the beginning and regex is "difficult" ...
Can someone help me please.
Regards
KI