[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Advance Regex help

How do I search for a pattern only if the pattern is before a specific character eg '%'. For example:-

     1. pattern % something
     2. something % pattern

I want to be able to match line 1 but not line 2.

Any ideas?