Skip to content

Commit

Permalink
chore(docs): Sync docs (#1377)
Browse files Browse the repository at this point in the history
  • Loading branch information
antoine-duchenet authored Oct 4, 2023
1 parent f448435 commit 2e344ce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions exercises/practice/phone-number/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ The first three digits of the local number represent the _exchange code_, follow
The format is usually represented as

```text
(NXX)-NXX-XXXX
NXX NXX-XXXX
```

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

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

Your task is to clean up differently formatted telephone numbers by removing punctuation and the country code if present.

For example, the inputs

Expand Down

0 comments on commit 2e344ce

Please sign in to comment.