Regex blocking syntax question

Posting here is no longer possible, please use the forum of a filter list project, such as EasyList
Locked
KingZog
Posts: 1
Joined: Sat Sep 01, 2012 6:36 am

Regex blocking syntax question

Post by KingZog »

Howdy!

I need to block an a set of images. In order to do this I need to check for the existence of the - character (minus sign). If the - character does not exist, then block the image.

For example:

http://abcde.com/[b]foo-bar.jpg[/b] would be ok, but

http://abcde.com/[b]foobar.jpg[/b] should be blocked.

I understand regex syntax and use, but I'm not sure how to translate that into this kind of filter. Can anyone tell me how to create that kind of filter?

Thanks!
King Zog
Locked