Popular
Latest Articles
- How to Secure your Cisco Router
- Creating CLI Views on a Cisco Router
- Configuring TACACS+ on a Cisco Router
- How to enable SDM on your router
- Build a Samba Server on Redhat / CentOS
- How to set the Time / Date and Timezone in CentOS
- How to install SSH on Solaris 10 x86
- ESX4 - How do I turn on/off a Virtual Machine from the command line ?
Basic Regular Expressions
Wednesday, 14 January 2009 12:58
Basic Regular Expressions
| ^abc | BOL | abc at the beginning of the line |
| abc$ | EOL | abc at the end of the line |
| A* | Any amount of characters | matches any sqec or more of A`s i.e A, AAAAAA, AA, AAAAAAAAAA |
| . | Any 1 Character | Any Character |
| .* | Any Characters | Any Characters |
| a[a-z0-9]c | Range | Between a and c any lowercase letter or number i.e a7c avc |
We have 19 guests online