If +60 is for Malaysia, then this should return a result:
import re
regex = re.compile(r"\+60[0-9 ]+")
# then regex.findall(BIG_TEXT_WITH_MANY_NUMBERS)
If you need something with more functionality, you can look for
https://pypi.org/project/phonenumbers/
It can parse phone numbers and you can access the country_code:
import phonenumbers
while True:
phone_number = phonenumbers.parse(input("Phone number: "))
country_code = phone_number.country_code
region = phonenumbers.region_code_for_country_code(country_code)
print(country_code, region)A user tends to input invalid data. If phonenumbers have problems to parse a number, it will raise the
NumberParseException. You can catch this.
But this is only usable, if you know where the numbers are.
If you want to scrape the web for phone numbers, you need a much better regex.