<?php $pattern = 'yyyy'; $pattern = preg_replace(['/y/', "/'.*'/", '/\./', '/,/'], '', $pattern); var_dump($pattern);
You have javascript disabled. You will not be able to edit any code.