0
替换字符串中的话,我有一个这样的字符串:搜索和正则表达式
"This is a random string with @[certain] words with this format @[something]"
我想以取代@[]
所以我的结果必须是这样说的话包裹:
"This is a random string with words with the format"
我正在使用PHP。
欢迎SO!请显示解决问题的尝试。看[问]和[mcve] – Tushar