| [news.eclipse.newcomer] Re: 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?
For a reference, you can have a look at http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html
HTH, dyd