gibney.org
:
Technology
:
Programming
:
Regular Expressions
:
Match anything except a certain string
search:
See as:
raw
|
code
terms of service
|
imprint
gibney.org
is powered by
m1d1
Match anything except a certain string
(Entry Nr. 372, by user 1 |
edit
)
((?!test).)* will consume a register though. To avoid this, add "?:":
(?:(?!test).)*
Create a new entry at this position