相关疑难解决方法(0)

PHP条带标点符号

假设我有这个:

$hello = "Hello, is StackOverflow a helpful website!? Yes!";
Run Code Online (Sandbox Code Playgroud)

我想删除标点符号,因此输出为:

hello_is_stackoverflow_a_helpful_website_yes
Run Code Online (Sandbox Code Playgroud)

我怎样才能做到这一点?

php regex

31
推荐指数
3
解决办法
3万
查看次数

标签 统计

php ×1

regex ×1