Hi

This is a regex question.

I am trying to match a set of URLs. Some of the URLs contain a GUID, something like this:

Code:
http://www.example.com/newsroom/press/release/?id=8a0223ba-af12-4406-a4a5-af603c0a1364
However, there are also URLs in the list I am searching that contain uppercase versions of this URL:

Code:
http://www.example.com/newsroom/press/release/?id=8A0223BA-AF12-4406-A4A5-AF603C0A1364
or structures like:

Code:
http://www.example.com/issues/polls/
http://www.example.com/mystory/?rid=1234&quote=Here I am
I am trying (but not very well) to construct a Regular Expression that will match any URL in my list, but if it contains a GUID only match GUIDs that are comprised of lower case characters.

So, using the examples above these URLs would be OK

Code:
http://www.example.com/newsroom/press/release/?id=8a0223ba-af12-4406-a4a5-af603c0a1364
http://www.example.com/issues/polls/
http://www.example.com/mystory/?rid=1234&quote=Here I am
But this one would not match

Code:
http://www.example.com/newsroom/press/release/?id=8A0223BA-AF12-4406-A4A5-AF603C0A1364
n.b that the upper case GUID is not always at the end of the string (which is something I made a mistake by placing a $ in at the end).

Does anyone have an idea of how to achieve this `if specific string pattern exist, only match if it is lowercase. If it does not exist, then accept string.`

Al