Guest User

Untitled

a guest
Aug 20th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.11 KB | None | 0 0
  1. <?php
  2. $szStr = "`foo`,`bar`,`hello`,`world`";
  3.  
  4. $s = preg_replace('/(,`world`)/', ' ', $szStr);
  5. echo $s;
  6. ?>
Add Comment
Please, Sign In to add comment