Instead of Regex, try the
PHP explode() Function[
^]
<?php
$line = "%body
The family is a central socialization context from early childhood
behavior \cite{dishi-sto2007,hengg-etal1998,johns-etal2005}.
Family management becomes more challenging for parents during the
transition from middle childhood to adolescence. Typically developing ";
$array = explode("\n\r", $line);
echo $array[0];
?>