简体   繁体   中英

Reg ex - find a string without certain characters

Using regex, how do I search for a string that does not include cetrain characters?

If I'm searching through directory in textmate for the string 'flash/' I'd like to exclude the result 'flash/navigation'

Is that possible?

使用负向前看:

/flash\/(?!navigation)/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM