Replaced the slash in a wildcard with a dot

For a wildcard to work in preg_match the slash needs to be replaced with a dot.