Not only useful in programming, regular expressions can make complex tasks easy in many different scenarios. Here is a great site for testing your regex:
http://rubular.com
| # Magento Connect 2 cache directories and files | |
| downloader/pearlib/cache/ | |
| downloader/*.cfg | |
| # Magento runtime media files | |
| media/catalog/product/cache/ | |
| media/tmp/ | |
| media/js/ | |
| media/css/ | |
| media/.thumbs/ |
| SET FOREIGN_KEY_CHECKS=0; | |
| -- Customers | |
| TRUNCATE `customer_address_entity`; | |
| TRUNCATE `customer_address_entity_datetime`; | |
| TRUNCATE `customer_address_entity_decimal`; | |
| TRUNCATE `customer_address_entity_int`; | |
| TRUNCATE `customer_address_entity_text`; | |
| TRUNCATE `customer_address_entity_varchar`; | |
| TRUNCATE `customer_entity`; |