<p>I'm looking for a regular expression that will match all strings EXCEPT those that contain a certain string within.  Can someone help me construct it?</p>

<p>For example, looking for all strings that <em>do not</em> have a, b, and c in them in that order.</p>

<p>So <br />
abasfaf3 would match, whereas <br />
asasdfbasc would not</p>

in perl:
```
```
if($str !~ /a.*?b.*?.*c/g)
{
    print "match";
}
```
```
should work.