This is the regular expression I use to match phone numbers like:
00 00 00 00 00 00 00 0 00 00 00 00 +00 0 00 00 00 00 (\\d{2}\\s+\\d{2}\\s+\\d{2}\\s+\\d{2}
In the javascript, you have escaped all the brackets. Do you want them to behave as capturing groups, or do you want to match actual brackets in the string?
Also use test instead of search. test returns true or false, not a number.