HF RL Explorer

Domain Name Validation Using Regular Expressions

Domain Name Validation Using Regular Expressions: a task in Terminal-Lego-15k (Harbor dataset). Write a script that validates domain names using regular expressions. The script must read domain names from an input file and determine whether each one is valid or invalid based on specific rules…

The task

Write a script that validates domain names using regular expressions. The script must read domain names from an input file and determine whether each one is valid or invalid based on specific rules, writing the results to an output file.

Part of PrimeIntellect/Terminal-Lego-15k.