title: PHP: How to find the beginning and end of a substring in a string?
body: <p>This is the content of one mysql table field:</p>
  
  <pre><code>Flash LEDs: 0.5W
  LED lamps: 5mm
  Low Powers: 0.06W, 0.2W
  Remarks(1): this is remark1
  ----------
  Accessories: Light Engine
  Lifestyle Lights: Ambion, Crane Fun
  Office Lights: OL-Deluxe Series
  Street Lights: Dolphin
  Retrofits: SL-10A, SL-60A
  Remarks(2): this is remark2
  ----------
  Infrared Receiver Module: High Data Rate Short Burst
  Optical Sensors: Ambient Light Sensor, Proximity Sensor, RGB Color Sensor
  Photo Coupler: Transistor
  Remarks(3): this is remark3
  ----------
  Display: Dot Matrix
  Remarks(4): this is remark4
  </code></pre>
  
  <p>Now, I want to read the remarks and store them in a variable. Remarks(1), Remarks(2), etc. are fixed. 'this is remark1', etc. come from form input fields, so they are flexible.</p>
  
  <p>Basically what I need is: Read everything between 'Remarks(1):' and '--------' and save it in a variable.</p>
  
  <p>Thanks for your help.</p>