Regex—匹配特定數字前面的一個單詞

一 需求php       匹配到1前面而且是'='號分隔的單詞spa <?php $patten = "/\b(\w+)\b\s*[^d][^and]?\s*\\?3/"; $conditionString = 'rarity = ?1  exp_start <= ?2 and exp_end > ?3'; $matches = array(); preg_match($patten, $con
相關文章
相關標籤/搜索