请帮我解决以下问题:
$my_string = 'here is some text and my number: +43 (0) 123 456 - 78 and
some more text and a different number + 43(0) 1234/ 567-789 and
a final text';
我需要的是这样的:
Array
(
[0] => here is some text and my number:
[1] => +43 (0) 123 456 - 78
[2] => and some more text and a different number
[3] => + 43(0) 1234/ 567-789
[4] => and a final text
)
和最终输出:
<span>
here is some text and my number:
<a href="tel:+43 123 456 78">+43 (0) 123 456 - 78</a>
and some more text and a different number
<a href="tel:+43 1234 567 789">+ 43(0) 1234/ 567-789</a>
and a final text
</span>
感谢您的帮助!直到。