Skip to content

Commit 2e344ce

Browse files
chore(docs): Sync docs (#1377)
1 parent f448435 commit 2e344ce

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

exercises/practice/phone-number/.docs/instructions.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@ The first three digits of the local number represent the _exchange code_, follow
1111
The format is usually represented as
1212

1313
```text
14-
(NXX)-NXX-XXXX
14+
NXX NXX-XXXX
1515
```
1616

1717
where `N` is any digit from 2 through 9 and `X` is any digit from 0 through 9.
1818

19-
Your task is to clean up differently formatted telephone numbers by removing punctuation and the country code (1) if present.
19+
Sometimes they also have the country code (represented as `1` or `+1`) prefixed.
20+
21+
Your task is to clean up differently formatted telephone numbers by removing punctuation and the country code if present.
2022

2123
For example, the inputs
2224

0 commit comments

Comments
 (0)