Cool pregreplace Solution

Cool preg_replace Solution

The situation: Read a product description from a product database. The problem: The block of text for the product description in the comma delimited file is not formatted, and in fact looks stripped of whatever formatting it had previously. Chunks of text squished together like “changes.Special” (no space after the period), and “Disc BrakeHeadset” (obviously […]

Continue Reading