Skip to content

Instantly share code, notes, and snippets.

@nickvergessen
Created August 5, 2013 19:43
Show Gist options
  • Save nickvergessen/6158893 to your computer and use it in GitHub Desktop.
Save nickvergessen/6158893 to your computer and use it in GitHub Desktop.
create a regex, which return:
{SITENAME}
{WELCOME_MSG}
{USERNAME}
{U_BOARD}
{EMAIL_SIG}
So basically, I want to know all template vars that are used in the email template
Subject: Welcome to "{SITENAME}"
{WELCOME_MSG}
Please keep this e-mail for your records. Your account information is as follows:
----------------------------
Username: {USERNAME}
Board URL: {U_BOARD}
----------------------------
Your account is currently inactive and will need to be approved by an administrator before you can log in. Another email will be sent when this has occurred.
Your password has been securely stored in our database and cannot be retrieved. In the event that it is forgotten, you will be able to reset it using the email address associated with your account.
Thank you for registering.
{EMAIL_SIG}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment