HF RL Explorer

Regex to Detect Specific Email Domains

Regex to Detect Specific Email Domains: a task in Terminal-Lego-15k (Harbor dataset). You have a list of email addresses belonging to several domains. Your task is to write a regex pattern that matches email addresses belonging to exactly three specific domains : foo , bar , and baz .

The task

You have a list of email addresses belonging to several domains. Your task is to write a regex pattern that matches email addresses belonging to **exactly three specific domains**: `foo`, `bar`, and `baz`.

Part of PrimeIntellect/Terminal-Lego-15k.