The below code snippet explains how to find HTML Anchor /s based on its HREF attribute value using jQuery. Here it is explained how we can find using direct match and contains or wild card match
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
    <script type="text/javascript">
        $("#btnExactMatch").live("click", function () {
            var matches = "";
            $("a[href='" + $("#txtSearchTerm").val() + "']").each(function () {
                matches += $(this).text() + "\r\n";
            });
            alert(matches);
        });
        $("#btnLikeMatch").live("click", function () {
            var matches = "";
            $("a[href*='" + $("#txtSearchTerm").val() + "']").each(function () {
                matches += $(this).text() + "\r\n";
            });
            alert(matches);
        });
    </script>
</head>
<body>
    <form id="form1">
        <input type = "text" id = "txtSearchTerm" />
        <input type = "button" id = "btnExactMatch" value = "Exact Match" />
        <input type = "button" id = "btnLikeMatch" value = "Like Match" />
        <br /><br />
        <a href = "http://www.aspsnippets.com">ASPSnippets</a><br />
        <a href = "http://www.aspforums.com">ASPForums</a><br />
        <a href = "http://www.jqueryfaqs.com">jQueryFAQs</a><br />
    </form>
</body>
</html>
 
 
Explanation:
In the above code snippet there are 2 buttons btnExactMatch (for Exact Match) and btnLikeMatch (for Wild Card Match) and a textbox txtSearchTerm which accepts the string to be searched.
For exact match you will need to put the complete HREF Example: http://www.aspsnippets.com.
For wild card match you just need to put a part of string and it will match the complete HREF. Example: aspsnippets
 
Demo: