Removed trailing slash in regex as it wasnt needed