Regex tips and tricks
Following are some of the useful JavaScript-based Regex patterns that can be used while searching the configuration options:
.*
- To search for zero or more occurrences of the string that follows the special character combination.\d
- To search for any digit. Equivalent to[0-9]
. For example,\d
or[0-9]
matches6
inIPV6
.^...$
- To search for a string of finite length, starting and ending with definite characters. For example,^c....._m...m$
matchesCONFIG_MODEM
.
For more information, see Regular expression syntax cheatsheet.