Bug in my regular expression
===

I'm trying to look at a string and reject anything that has `seq=` or `app=` in the string. Where it gets tricky is I need elements with `q=something` or `p=something`.

The `seq=` part of the string is always preceded an `&` and `app=` is always preceded by a `?`

I have absolutely no idea where to start. I've been using http://www.rubular.com/ to try and figure it out but to no avail.

Any help would be hugely appreciated.