regular expressions??
Posted: Tue Aug 05, 2003 8:38 am
okay, i have a text file that im searching through, and it has many instances with text formated exactly like this
now what i want to do, is get the phone number.
here is the code that i have
but it's not catching it - anyone know why?
Code: Select all
<p class="bizPhone">Phone:
<strong>
їb]їSOME PHONE NUMBER IN HERE]ї/b]
<\/strong><\/p>here is the code that i have
Code: Select all
<?php
preg_match_all("/ <p class="bizPhone">Phone:
<strong>
(.*?)
<\/strong><\/p>/", $info, $array);
?>