Strip mirc control codes

Release your script here.
State:
- Author
- What it does
- Perhaps a little guide.
- Also, if the snippet is of any use to the community, it has a chance of getting posted on the main page, so don't hesitate to submit/ask!

Strip mirc control codes

Postby Dandy » Fri Jun 06, 2008 1:14 pm

Code: Select all
function stripcc($str) { return preg_replace(array('/(([0-9]{1,2}(,[0-9]{1,2})?)?)/i','//i
','//i
','//i
'),'',$str); }

it looks weird in here but it should work, go fix sumsar.
Dandy
 

Re: Strip mirc control codes

Postby Cristian » Fri Jun 06, 2008 1:52 pm

what to fix?, every code you make look weird :D
Cristian
proof of advance
proof of advance
 
Posts: 282
Joined: Sun Nov 04, 2007 3:02 pm
Location: Denmark
Authnick: Sumsar

Re: Strip mirc control codes

Postby PuNkTuReD » Sat Jul 11, 2009 6:06 pm

Sumsar wrote:what to fix?, every code you make look weird :D


hahahahahaha classic
PuNkTuReD
 


Return to PHP Release

Who is online

Users browsing this forum: No registered users and 1 guest

cron