Test, validate and match regular expressions
This regex matches phone numbers starting with either '0' or the Spanish country code '+34'. It expects a subsequent non-zero digit followed by exactly eight more digits. It is commonly used to validate or extract Spanish national and international phone formats.