Im attepting to find the regex to pull the
http://{any_string}.blogspot.com/feeds/{any_string}/comments/default
out of
<link rel="alternate"
type="application/atom+xml"
title="{any_string}"
href="http://{any_string}.blogspot.com/feeds/{any_string}/comments/default"
/>
I know basics of regex and using eregi but im unsure of how to include constant characters such as the http://, etc in the regex expression!
Thanks!
Characters just match themselves (except some special ones like dot and backslash):
As pointed out, with php’s preg_match, you may have to escape the solidii: