$post['message'] = preg_replace( '/([^|[^a-z0-9=:])[0-9]{7,11}($|[^\.a-z0-9])/si', '\1u can\'t post numbers\2', $post['message'] );