Skip to content

Instantly share code, notes, and snippets.

@jsmecham
Last active December 25, 2015 04:29
Show Gist options
  • Save jsmecham/6917698 to your computer and use it in GitHub Desktop.
Save jsmecham/6917698 to your computer and use it in GitHub Desktop.

Useful Regular Expressions

Received Message Headers

/(^Received:.*?\n)(?=[a-zA-Z\-]+:|\n)/im
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment