Description: Description: Regular expressions are a way to match specific patterns in strings.
Demo Setup: For the demo, I am using BT5 with eclipse and pydev. I am demonstrating with python, but there are many other methods that could be used.
Uses: Signature creation pcre, scripting, programming
----------
\w : word character
\W: Not word character
\d : digit
\D : Not digit
\s : space
\S : not space
\ : escape
. : Any character except \n (new line)
| : or
{} : Range
-----------
FIN
* I will add examples at TekDefense.com. If people request I will also make the python script available.
Tekdefense.com
1aN0rmus@tekdefense.com
http://www.securitytube.net/user/1aN0rmus
www.youtube.com/user/TekDefense
Tags: regex , pcre , tekdefense , 1aN0rmus , python , tektip , pydev , eclipse , backtrack , BT5 , ubuntu , Regular Expressions , signature , scripting , programming "Python (programming Language)" , Windows ,
Disclaimer: We are a infosec video aggregator and this video is linked from an external website. The original author may be different from the user re-posting/linking it here. Please do not assume the authors to be same without verifying.
nice