$url =~ m{ href \s* = \s* # Match the "href = " part, then the value . . . (?: "([^"]*)" # a double-quoted value, or . . . | '([^']*)' # a single-quoted value, or . . . | ([^'"<>]+) ) # an unquoted value. }ix; ----------------------------------------------------------------------------- Copyright 1997-2024 Jeffrey Friedl