Expression - find all phrases except the one including specific word

Posted by ekapek on Stack Overflow See other posts from Stack Overflow or by ekapek
Published on 2010-03-17T23:56:36Z Indexed on 2010/03/18 0:01 UTC
Read the original article Hit count: 195

Filed under:
|

Hi,

I have a text file with text like: "Lorem ipsum text. Second lorem ipsum. How are You. It's ok. Done. Somthing else now.

New line. Halo. Text. Are You ok."

I need regex to find all sentences (betwen .) except that ones with word "else" withiin it. I'm trying many regex but nothing work

Can I do this with regex?

© Stack Overflow or respective owner

Related posts about expression

Related posts about regex