What is the Java equivalent to this preg_replace?

后端 未结 3 1688
谎友^
谎友^ 2021-02-09 15:54
wordword word\";
    $str = preg_replace(\"/word(?!([^<]+)?>)/i\",\"repl\",$str);
    echo $str;         


        
3条回答
提交回复
热议问题