Đang Thực Hiện

143878 Phone number field management

I would like to take a list of phone numbers that are in all different formats and normalize the phone numbers. An example input:

5024600140

407-599-0453

01483 836416

[url removed, login to view]+13

808 652-8484

808 826-7020

1-866-323-6698

[url removed, login to view]

877-504-5949

31 20 422 0098

912-764-9955

3219841330

1923467871

860-669-0111

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

(212) 548-0693

33388320638

386-689-6110

+44 (0)1903 240892

951 894 7035

951-695-0041 or 951-491-9906

Remove all non-phone number characters (however, leave the plus sign if it is in the beginning of the line). If there is more than one phone number in the line, put the additional phone numbers into additional fields. Report whether the phone number is in the USA or not.

Field 1 in the output should be newly normalized first phone number.

Field 2 in the output should be whether it is a USA phone number (1 if USA) or not (0 if not USA).

Field 3+ should be the additional phone numbers from that line

So, with the above example, the output would be:

5024600140,1

4075990453,1

01483836416,0

,0

8086528484,1

8088267020,1

8663236698,1

7609248490,1

8775045949,1

31204220098,0

9127649955,1

3219841330,1

1923467871,0

8606690111,1

2105350952,1

2105350952,1

2105350952,1

2125480693,1

33388320638,0

3866896110,1

+4401903240892,0

9518947035,1

9516950041,1,9514919906

If you're making this in Java, make it a .jar file. NO PHP.

Kỹ năng: .NET, Bất kì công việc gì, Lập trình C, Java, Perl

Xem thêm: usa programming, programming number, number programming, java programming beginning, it field, beginning java programming, beginning programming, number 1, leave management, jar, phone, 504, phone jar, java input field, additional output fields, php phone list, remove characters phone numbers, usa phone number list, phone java, phone number php, list management, java management, leave management php, php leave management, java phone

Về Bên Thuê:
( 57 nhận xét ) Austin, United States

Mã Dự Án: #1890054

Đã trao cho:

lyneli

Please see PMB. Thanks.

$50 USD trong 3 ngày
(0 Đánh Giá)
0.0