Regular Expressions
- Regexp::Common
- Options and modifiers
- /i Case sensitivity
- Matching quotes
- /s single line
- /m multiple lines
- /x enable white spaces and comments
- Substitute
- Global substitute
- Greedy quantifiers
- minimal match
- Replace spaces
- Replace string in assembly code
- Full example of previous
- split with regular expression
- Fixing dates
- Exercise: split CGI
- Exercise: basename/dirname
- Exercise: Sort SNMP numbers
- Exercise: parse hours log file and give report
- Exercise: Parse ini file
- Exercise: parse perl file
- Solution: Split CGI
- Solution: filename/dirname
- Solution: Sort SNMP numbers
- Solution: parse hours log file and give report
- Solution: Parse ini file
- Solution: parse perl file
- Regular Expressions Cheat sheet