<?php function escape_sql_regexp( $str ) { return preg_replace('/[+*?[\\^\\]$(){}=!|:,]/', '\\\\\\\\${0}', $str); } echo escape_sql_regexp( '(541) 754-3010' );
You have javascript disabled. You will not be able to edit any code.