<?php $str = 'abc|;:d.^*+?$efg'; $str = preg_replace('/[\|;:\.\^\*\+\?\$]/', '', $str); var_dump($str === 'abcdefg');
You have javascript disabled. You will not be able to edit any code.