Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion regexes.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@
}
}
},
"yelp": {
"company": {
"regex": "(?:https?:\\/\\/)?(www\\.)?yelp\\.com\/biz\/([A-z0-9_-]+)",
"tests": {
"https://www.yelp.com/biz/buddha-bliss-therapeutic-massage-san-francisco-2": {
"biz": "buddha-bliss-therapeutic-massage-san-francisco-2"
}
}
}
},
"email": {
"mailto": {
"note": "This matches plain emails and mailto hyperlinks. This regex is intended for scraping and not as a validation. See why: [\"Your email validation logic is wrong\"](https://www.netmeister.org/blog/email.html).",
Expand Down Expand Up @@ -509,4 +519,4 @@
}
}
}
}
}