我需要删除 [...] 内的字符串,包括“[]”本身。我尝试从该网站寻找解决方案。我有一个线索,我应该尝试使用 preg_replace 进行一些操作,但它对我来说似乎太专业了。
例如 :
[gallery ids="92,93,94,95,96,97,98,99,100" orderby="rand"] Description The thirty-two storey resort condominium in Phuket, located Just 150m from Patong beach where choices of activities, water sp
我需要删除[画廊 ids="92,93,94,95,96,97,98,99,100" orderby="rand"]从示例文本。它总是开始于[图库 ID=" .
请建议。