Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $string = "[01;34mscripts[0m";
- $start = '[01;34m';
- $end = '[0m';
- str_replace($start, "<div style="color:yellow">", $string);
- str_replace($end, "</div>", $string);
- echo $string;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement