PHP: Extracting specific data from text and putting them in a list
<p>I'm having trouble writing the code necessary for extracting certain data from the text.
My text is structured something along the lines of this:</p>

<pre><code>[class name]. [class name]. (class units). [class description]. [class instructors]
</code></pre>

<p>For example:</p>

<blockquote>
  <p>200A-200B. Civil Procedure. (3)
  The principles of pleading under the code system and the federal rules; modern trial practice, including venue, process, the jury, sufficiency of evidence, instructions, verdicts, new trials, judgments; appellate procedure. 
  Ms. Aldave, Mr. Louisell, Mr. Poche, Mr. Stolz, Mr. Vetter</p>
  
  <p>201A-201B. Contracts. (4)
  The law of contracts, dealing with the prob¬lems of formation, operation, and termination.
  Mr. Eisenberg, Mr. Kessler, Mr. Laube, Mr. Weintraub</p>
</blockquote>

<p>And then the list goes on, with more a thousand more of these.</p>

<p>I want to break down the different parts of these listings and put them in a list for each of them. For instance, I would want all the class numbers in a list, all the class names in a list, all the units in a list, all the class descriptions in a list, and all the instructors in a list. </p>

<p>How would I got about this? I just started coding in php, any recommended readings I should do? Thank you.</p>
