<?php
$data = '<br />
Q.156) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br />
Breaking up :- Number of Employees working in Different Departments of an Organisation, the Number of Males and the Number of Employees Who Recently Got Promoted in Each Department <br />
<br />
Q.157) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br />
Breaking up :- Number of Employees working in Different Departments of an Organisation, the Number of Males and the Number of Employees Who Recently Got Promoted in Each Department <br />
<br />
Q.158) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br />
Breaking up :- Number of Employees working in Different Departments of an Organisation, the Number of Males and the Number of Employees Who Recently Got Promoted in Each Department <br />
<br />
Q.159) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br />
Breaking up :- Number of Employees working in Different Departments of an Organisation, the Number of Males and the Number of Employees Who Recently Got Promoted in Each Department <br />
<br />
Q.160) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br />
Breaking up :- Number of Employees working in Different Departments of an Organisation, the Number of Males and the Number of Employees Who Recently Got Promoted in Each Department <br />
<br />
Q.161) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br />
Breaking up :- Number of Employees working in Different Departments of an Organisation, the Number of Males and the Number of Employees Who Recently Got Promoted in Each Department <br />
<br />
Q.162) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br />
Breaking up :- Number of Employees working in Different Departments of an Organisation, the Number of Males and the Number of Employees Who Recently Got Promoted in Each Department <br />
';
preg_match_all('/Q\..*/', $data, $matches);
print_r($matches[0]);
Array
(
[0] => Q.156) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br />
[1] => Q.157) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br />
[2] => Q.158) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br />
[3] => Q.159) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br />
[4] => Q.160) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br />
[5] => Q.161) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br />
[6] => Q.162) Direction (156–160): Study the given pie-charts carefully to answer the questions that follow: <br />
)