JSFiddle - React, Tailwind, and code Playground

HTML

<a href='#!'>My research</a>
<br>
<a href='#!'>This should not be takin into account</a>
<br>
<a href='#!'>Another useless link just for the demo</a>

JavaScript

const callback = element => element.innerHTML == 'My research'

    const elements = Array.from(document.getElementsByTagName('a'))
    // [a, a, a, ...]

    const result = elements.filter(callback)

    console.log(result)
    // [a]