I am looking to try an determine a regular expression to parse out the interior url from this google alert redirect
http://www.google.com/url?sa=X&q=http://weheartit.com/entry/29409069&ct=ga&cad=CAcQARgAIAEoATAAOABAo5aK_gRIAlgBYgVlbi1VUw&cd=jRWL16jvo8k&usg=AFQjCNGbJMqWtbCxpcJdu4PGD6RToU6NTw
What I need to do is remove the first part that is
http://www.google.com/url?sa=X&q=
And I would also remove the trailing string which is
&ct=ga&cad=CAcQARgAIAEoATAAOABAo5aK_gRIAlgBYgVlbi1VUw&cd=jRWL16jvo8k&usg=AFQjCNGbJMqWtbCxpcJdu4PGD6RToU6NTw
So the ending url I would end with is
http://weheartit.com/entry/29409069
I just wanted to update this thanks for the help. This was an issue in the link module for drupal and it has been fixed