Код (Text): <div id="pnlExhibitorContact"> <a name="profile"> </a> <p> <b> <span id="lblProfileMsg">Profile: </span> </b> <br> <span id="lblProfile"></span></p><p>Taiyang Movie and Television Equipment Co., Ltd. which is a professional large-scale manufacturer in the lighting such as LED Camera Light, LED new light ,camera battery , </p><br><p>HMI Spotlight ,tungsten spotlight ,fluocesent light ,announcer teleprompters, In line with the principles of cooperation and mutual benefits, </p><br><p>we sincerely provide all our customers with high-quality products at most favorable price. </p> <p></p> <p> <b> <span id="lblCategoriesMsg">Categories</span> </b> <br> <span id="lblCategories"></span></p><ul><u>Acquisition & Production</u><li> Lighting and Grip</li><li> Set Design/Props/Furniture and Fixtures</li></ul> <p></p> </div> есть html-код, требуется достать все данные из <p> сразу после <span id="lblCategories"></span> написал кривую регулярку: Код (Text): preg_match_all("/<span id=\"lblProfile\">(.*)<\/span>(.*)<\/p>(.*)<p>(.*)<\/p>/sUi",$html,$matches,PREG_PATTERN_ORDER); можете ли подсказать как оптимизировать такой поиск?