Hello
I made a widget which works with phone data. So i want to enable the phone number on any document. This basically works well. But it seems, that the Standard PhoneNumber recogniser only recognises US Phone Number, but no European Phone Numbers. E.g. when i have a mail with the Phone Number +41 44 555 66 33, it does not recognize the “+”… (Bug?)
This does not work whith my widget ![]()
I tried to create a new recognizer with a new regular expression. But i could no make it work with any Regexp! i tried these examples:
/^((+\d{1,3}(-| )?(?\d)?(-| )?\d{1,5})|((?\d{2,6})?))(-| )?(\d{3,4})(-| )?(\d{4})(( x| ext)\d{1,5}){0,1}$/
/^(+\d)\s((\d{3})\s*)*\d{3}(-{0,1}|\s{0,1})\d{2}(-{0,1}|\s{0,1})\d{2}$/
/^(+\d)\s((\d{3})\s*)*\d{3}(-{0,1}|\s{0,1})\d{2}(-{0,1}|\s{0,1})\d{2}$/
/[^0-9.,]/g
((?+?[0-9]*)?)?[0-9_- ()]$
But not one of these did underline the desired text.
Do i miss something?
thanx for any help