johnscr_45871
Dec 12, 2008Nimbostratus
Simple match of URL based on regular expression
Hi
I am haveing some trouble with this simple Irule and was hoping someone could help. All I have to do is check the incomming URL and see if it matches a reg ex. If it matches the reg ex, then pass the request on to "PoolB".
The regular expression (as one of my devs has writtin it) looks like this:
(.*)?postcode=(.*)&email=(.*)
The incomming url will look like this:
http://www.bla.com/folder1/?postcode=POSTCODE&email=EMAIL
where POSTCODE is an actual postcode and EMAIL is an actual email address.
I know this should be simple but I just cant get it working??
Any help will be met with massive amounts of karma, respect, love and chocolate covered goodies.
Thanks