Monthly Archives: December 2011

Removing repeating characters (PHP)

In this case it was offending commas, but you could adapt this to most things. $my_string = ereg_replace(‘\,{2,}’, ‘,’, $my_string); For a proper explanation, see http://randomdrake.com/2008/04/09/php-and-regex-how-to-replace-or-remove-a-repeating-character/   Thank you :c)

Posted in Reminders | Tagged , , , | Leave a comment

Mega Prims

I expect most of you have your own sources for mega prims, but I thought this was rather neat.  http://megaprim.sl/

Posted in Building | Leave a comment