Hello,
I would like to process a regex to look for only the internal links containing the rel="noopener"
For example search for this link:
In this case the regex should be:
and it should work as I checked it with the following regex test:
https://www.freeformatter.com/regex-tester.html
However, I am not looking for internal links correctly, only those with rel="noopener". How can I solve?
Thank you
I would like to process a regex to look for only the internal links containing the rel="noopener"
For example search for this link:
HTML
Copy Code
<ahref="https://www.linkinterno.it/2018/10/titolo/"target="_blank"rel="noopener"> anchor text </a>
In this case the regex should be:
HTML
Copy Code
href="https://www.linkinterno.it(.*?)rel="noopener"
and it should work as I checked it with the following regex test:
https://www.freeformatter.com/regex-tester.html
However, I am not looking for internal links correctly, only those with rel="noopener". How can I solve?
Thank you
