Skip to content

Instantly share code, notes, and snippets.

@daviseford
Created February 18, 2018 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daviseford/23262b420338715c71f38d93651cd69c to your computer and use it in GitHub Desktop.
Save daviseford/23262b420338715c71f38d93651cd69c to your computer and use it in GitHub Desktop.
regex_for_whatsapp_chat_logs
const regex = txt.match(/^\[[\S]+[\s][\S]+[\s]\wM\]\s[\w\s]+:\s/gm)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment