Administrator’s Guide for SIP-T46G IP Phone24to search and manipulate text based on patterns.Regular expression can be used to define dial plan for the IP phones. Dial plan is astring of characters that governs the way for the IP phones processing the inputsreceived from the IP phone keypads. The IP phones support the following dial planfeatures: Replace Rule Dial-now Area Code Block OutThe priority of matching dial plan is: Dial-now>Replace Rule>Area Code>Block Out.You need to know the following basic regular expression syntax when creating dialplan:.The dot ―.‖ can be used as a placeholder or multiple placeholders forany string. Example:―12.‖ would match ―123‖, ―1234‖, ―12345‖, ―12abc‖, etc.xThe ―x‖ can be used as a placeholder for any character. Example:―12x‖ would match ―121‖, ―122‖, ―123‖, ―12a‖, etc.-The dash ―-‖ can be used to match a range of characters within thebrackets. Example:―[5-7]‖ would match the number ―5‖, ‖6‖ or ‖7‖.,The comma ―,‖ can be used as a separator within the bracket.Example:―[2,5,8]‖ would match the number ‖2‖, ―5‖ or ―8‖.[]The square bracket "[]" can be used as a placeholder for a singlecharacter which matches any of a set of characters. Example:"91[5-7]1234"would match ―9151234‖, ―9161234‖, ―9171234‖.()The parenthesis "( )" can be used to group together patterns, forinstance, to logically combine two or more patterns. Example:"([1-9])([2-7])3" would match ―923‖, ―153‖, ―673‖, etc.$The ―$‖ followed by the sequence number of a parenthesis meansthe characters placed in the parenthesis. The sequence numberstands for the corresponding parenthesis. Example:A replace rule configuration, Prefix: "001(xxx)45(xx)", Replace:"9001$145$2". When you dial out "0012354599" on your phone, the IPphone will replace the number with "90012354599". ―$1‖ means 3digits in the first parenthesis, that is, ―235‖. ―$2‖ means 2 digits in thesecond parenthesis, that is, ―99‖.