Hello,

I'm looking for an appropriate regular expression to search a certain pattern, but to exclude a special sequence of characters. Example: Trying to get all matches of the pattern 'test' but excluding all matches of the pattern '-end', i. e. if the text contains 'test-end' this text location should not be matched.

By which regular expression can this search condition be realized?

Thomas Wiedmann


---------------------------------------------------------------------
To unsubscribe, e-mail: regexp-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: regexp-user-h...@jakarta.apache.org

Reply via email to