import re
regexObj = re.compile(r'\d\d\d-\d\d\d-\d\d\d\d')
mo = regexObj.search("This is my phone number:455-525-4523")
print('Phone number found:'+mo.group())
                     

fb3b986eaa2479d34cf40f0b4fb8b489c13fae9c
<mask token>

<mask token>
print('Phone number found:' + mo.group())

<mask token>
regexObj = re.compile('\\d\\d\\d-\\d\\d\\d-\\d\\d\\d\\d')
mo = regexObj.search('This is my phone number:455-525-4523')
print('Phone number found:' + mo.group())

import re
regexObj = re.compile('\\d\\d\\d-\\d\\d\\d-\\d\\d\\d\\d')
mo = regexObj.search('This is my phone number:455-525-4523')
print('Phone number found:' + mo.group())

import re
regexObj = re.compile(r'\d\d\d-\d\d\d-\d\d\d\d')
mo = regexObj.search("This is my phone number:455-525-4523")
print('Phone number found:'+mo.group())
                     
