Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function replace ($gelen) {
- return preg_replace ('@<deneme>(.*?)</deneme>@', '<font color="red"><b>$1</b></font>', $gelen);
- }
- echo replace('<deneme>Farklı bir yol :)</deneme>');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement