Changed regex in formParagraphs