I'd like to rid a text of citations, (wikipedia). citations look like this [0] , [11] Can you guys help me, im still very new with preg_replace & regex.