I have a Regex which extracts German mobile phone numbers from a website:
[^\d]((\+49|0049|0)1[567]\d{1,2}([ \-/]*\d){7})(?!\d)
As you can see in the demo it works quite well. The only pattern which doesn't match yet is:
+49 915175461907
Please see more examples in the linked demo. The problem is the whitespace behind +49
.
How do I need to change the current regex pattern in order to match even these kind of patterns?