How to search with pattern from sed result of substitution such is illustration only;
sed -nE \'s/^.*href="([^"]+)".*/\\1/p \' Text