So I have a problem to find different types of phone numbers:
They could in these formats:
+xx xx xxxxxxxx - /[+][0-9]{2}\s[0-9]{2}[0-9]{8}/
xxxx xxxxxx - /[0-9]{4}\s[0-9]{6}/
xxxxx xxxxxx - /[0-9]{5}\s[0-9]{6}/
xxxxxxxxxxx - /[0-9]{11}
+xx xxxxxxxxxx - / [+][0-9]{2}\s[0-9]{10}
xxxx xxxxxxxxxx - /[0-9]{4} \s0-9]{10}/
I wrote the regular expression for each one, but not sure how to combine it into one big expression to find them all.
How can I combine this into one big expression so that it could find all those formats of numbers if it was to go through a file of numbers.