Other Resources:
Parsing directory entries from Windows "dir" command
How to write a regular expression to parse sub directory entries from the output of Windows "dir" command?
Here is an example output of the "dir" command:?
✍: FYIcenter.com
![]()
Here is a regular expression to parse file entries from output of the "dir" command on Windows systems: with multiple lines modifier "m": Note that:
(\d{2}/\d{2}/\d{4}\s+\d{2}:\d{2}\s+[AP]M) - Timestamp
(<DIR>) - DIR flag
(.+) - Directory name
2013-02-01, 0👍, 0💬
Popular Posts:
How to capture the MSN (Microsoft Network) bot entries from Web log file? Here are some Web log file...
How to write a regular expression to parse key-value entries from Windows .INI files? Here is an exa...
All credit card numbers issued by American Express must start with 34 or 37 and have 15 digits. For ...
All credit card numbers issued by Diners Club must start with 300 through 305, 36 or 38 and have 14 ...
According to the IEEE 802 specification, a MAC address has 6 groups of 2 hexadecimal digits separate...