<?php $pattern = "/anieeesabcd(*)/"; var_dump(preg_match('/' . str_replace('/', '\/', $pattern) . '/', "fooo"));
You have javascript disabled. You will not be able to edit any code.