Some Regex I have collected
Keys stored in shell profiles
'\.ssh/id_dsa|\.ssh/id_ecdsa|\.ssh/id_ed25519|\.ssh/id_rsa|\.git/config|\.hg/hgrc|\.svn/wc\.db'
Wordpress
'/blog/wp-admin/admin-ajax\.php|/wp-includes/js/comment-reply\.js|/wordpress/wp-admin/admin-ajax\.php|/wp-admin/admin-ajax\.php|/wp-login\.php|/wp/wp-admin/admin-ajax\.php|a=fetch\&content=\die\(@md5\(HelloThinkCMF\)\)\ |XDEBUG_SESSION_START=phpstorm'
Tunneling for blocked news sites in China
'/ogPipe\.|/ogShow\.aspx|/op69okl|/op69okl\.aspx|/os86369\.aspx|/show\.aspx'
Sublime SFTP
'/sftp_config\.json'
PHPUnit
'/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin\.php|/vendor/phpunit/phpunit/Util/PHP/eval-stdin\.php|/vendor/phpunit/src/Util/PHP/eval-stdin\.php|/vendor/phpunit/Util/PHP/eval-stdin\.php|/phpunit/phpunit/Util/PHP/eval-stdin\.php|/phpunit/Util/PHP/eval-stdin\.php|/lib/phpunit/phpunit/Util/PHP/eval-stdin\.php|/lib/phpunit/Util/PHP/eval-stdin\.php|/wp-content/plugins/dzs-videogallery/class_parts/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin\.php|/vendor/phpunit/phpunit/src/Util/PHP/king\.php|/vendor/phpunit/phpunit/src/Util/PHP/kill\.php'
Uploadify
'/scripts/uploadify/uploadify\.css|/plugins/uploadify/uploadify\.css|/plugins/js/uploadify/uploadify\.css'
elFinder
'/plugins/elfinder/php/connector\.minimal\.php|/plugins/elfinder-2\.1/php/connector\.minimal\.php'
Joomla
'/components/com_b2jcontact/css/b2jcontact\.css|/configuration\.php_new|/configuration\.php_bak|/configuration\.php_Old|/configuration\.php\.old|/configuration\.php\.new}/configuration\.php\.bak|/configuration\.php-bak|/configuration\.bak'
Magento Mass Importer (MAGMI)
'/magmi/web/download_file\.php|/magmi/web/ajax_pluginconf\.php|/magmi/conf/magmi\.ini|/magmi-importer/web/download_file\.php|/magmi-importer/conf/magmi\.ini'
Others
'\.DS_Store|\.svn/entries|/var/resource_config\.json|\.idea/WebServers\.xml'
Bitcoin
'/wallet\.dat|/wallet/wallet\.dat'
'(?i)^[13][a-km-zA-HJ-NP-Z1-9]{25,34}$'
SQLi
'\b(ALTER|CREATE|DELETE|DROP|EXEC(UTE){0,1}|INSERT( +INTO){0,1}|MERGE|SELECT|UPDATE|UNION( +ALL){0,1})\b'
IP Address
'\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'
SSH Keys
-----BEGIN DSA PRIVATE KEY----- -----BEGIN EC PRIVATE KEY----- -----BEGIN PGP PRIVATE KEY BLOCK----- -----BEGIN RSA PRIVATE KEY-----
Encoding
hex digit'(?i)[0-9a-f]+'md5
'(?i)[0-9a-f]{32}'sha1
'(?i)[0-9a-f]{40}'sha256
'(?i)[0-9a-f]{64}'Base64
'(?:[A-Za-z0-9+\/]{4}\\n?)*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)'
'(?i)\b[\w._%+-]+@[\w.-]+\.\w{2,}\b'
^[a-zA-Z0-9_\-.]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-.]+$
CCregex
"(\b3611\d{10}|3[47]\d{13}\b|\b6011[ -]?\d{4}[ -]?\d{4}[ -]?\d{4}\b|\b35\d{2}[ -]?\d{4}[ -]?\d{4}[ -]?\d{4}\b|\b5[1-5]\d{2}[ -]?\d{4}[ -]?\d{4}[ -]?\d{4}\b|\b4\d{3}[ -]?\d{4}[ -]?\d{4}[ -]?\d{4}\b|\b3[0-8]\d{12}\b)')"
url
'^((http[s]?|ftp):\/)?\/?([^:\/\s]+)((\/\w+)*\/)([\w\-\.]+[^#?\s]+)(.*)?(#[\w\-]+)?$'
'(http|ftp|https):\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)'
SSN
'\d{3}-?\d{2}-?\d{4}'