You have to tell preg where you're regex is starting and ending, this is done by delimiters. Whatever your first character is, your last character has to be (making them the delimiters). So...
Etc will use '/' as a delimeter. Another common one is '#'.