Skip to content

Instantly share code, notes, and snippets.

View Benno1308's full-sized avatar
🌴
On vacation (Belize)

Benno1308

🌴
On vacation (Belize)
View GitHub Profile

Get all href sources from "a" tags exlude containing mailto links

(<a[^>]*href\s*=\s*["'])((?!mailto:|https?:|#)[^"']*|http:\/\/(www\.)*sitename[^"']*)