Skip to content

Commit

Permalink
Update regex.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
markjcrane committed Sep 5, 2018
1 parent 40a1d2f commit 8b50d67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/additional_information/regex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Regular Expressions
* \\d{10} 10 digits
* ( and ) gets matching digits inside brackets sets a $1 and second set of brackets creates $2
* ^\\+?1?(\\d{10})$ 10 to 11 digits and e164 format sets $1 to 10 digits
* [0-9] Any number between 0 to 9
* [2-9] Any number between 2 to 9
* | works like an example ^101$|^102$ matches 101 or 102
* ^9(\\d{10})$ This strips off the 9 and the $1 value is the remaining 10 digits

**Dialplan Expression**

Expand Down

0 comments on commit 8b50d67

Please sign in to comment.