From a0292d28c0fde41f40b6ce89cbb1f6fb2692c88f Mon Sep 17 00:00:00 2001 From: dana93os <89160604+dana93os@users.noreply.github.com> Date: Wed, 23 Feb 2022 16:27:59 +0200 Subject: [PATCH] add yelp --- regexes.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/regexes.json b/regexes.json index 4610274..310ced3 100644 --- a/regexes.json +++ b/regexes.json @@ -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).", @@ -509,4 +519,4 @@ } } } -} \ No newline at end of file +}