Skip to content

Instantly share code, notes, and snippets.

@Vap0r1ze
Last active November 29, 2017 19:31
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 Vap0r1ze/79e6403dd145dc2340a87d047a376ef3 to your computer and use it in GitHub Desktop.
Save Vap0r1ze/79e6403dd145dc2340a87d047a376ef3 to your computer and use it in GitHub Desktop.
/\b([^ ]+) (\1)\b/gi $1 <strong>$2</strong>
/^(1\d{3}|200\d|201[0-2])\/(0[1-9]|1[0-2])\/(0[1-9]|[1-2]\d|3[0-2]) ([01]\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/
/^(?:\d{1,3}(,\d{3})*(\.\d+)?|\d{1,3}( \d{3})*(,\d+)?)$/
/^\*( +)(.+)(\n)\*( +)(\2)$/gim *$1$2$3*$4**$5**
/^(?:A[grs]|B[er]?|C[adloru]?|Fe?|G[ae]|He?|In|Kr?|Li|M[gno]|N[abei]?|O|Pd?|R[bhu]|S[ceinr]?|T[ci]|V|Y|Z[nr])$/
/^(A[cmtu]|B[aik]|C[efms]|Dy|E[rsu]|F[mr]|Gd|H[fgo]|Ir|L[aru]|Md|N[dop]|Os|P[abdmortu]|R[aen]|S[bmn]|T[abehlm]|Xe|Yb|[IUW])$/
/^(?:\/((\\[?\\\/*+]|[a-z]|\[[^\]]*\])[*+?]?\??)+\/g?i?)$/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment