我想更換書面波紋管如何使用預浸取代
AND ((wp_usermeta.meta_key = 'first_name' AND CAST(wp_usermeta.meta_value AS CHAR) LIKE '%A%')
AND (mt1.meta_key = 'wp_capabilities' AND CAST(mt1.meta_value AS CHAR) LIKE '%\"s2member\\_level2\"%'))
一個字符串
AND ((wp_usermeta.meta_key = 'first_name' AND CAST(wp_usermeta.meta_value AS CHAR) LIKE 'A%')
AND (mt1.meta_key = 'wp_capabilities' AND CAST(mt1.meta_value AS CHAR) LIKE '%\"s2member\\_level2\"%'))
在上面scring我想要實現的是插入替換字符串中的一個發現信更換%[a-zA-Z]%
到[a-zA-Z]%
那麼,你有什麼嘗試,有什麼你有麻煩嗎? –