假设我有这个:
$hello = "Hello, is StackOverflow a helpful website!? Yes!";
我想删除标点符号,因此输出为:
hello_is_stackoverflow_a_helpful_website_yes
我怎样才能做到这一点?
php regex
php ×1
regex ×1