标签: php
如何使用“&&”和“||”在php函数中,如preg_replace&的preg_match。
答案 0 :(得分:2)
您可以在正则表达式中将|用作或。
|
^(abc|cde)\d$