I have text in a MYSQL database like such:
"2/22/10 - Called Lisa today. She emailed the app.
2/8/10 - No response to previous email. Forwarded again today.
1/27/10 - Emailed Lisa Gregory to see how soon we can start the application process."
The thing I'd like to do is have the date at the beginning of each line formatted so it stands out with either bold, underline, italics.. anything. I realize not every date is the same length - it's no big deal if the dash and spaces are also formatted.
I'm just not sure where to start... preg_replace??
<?
$cleancomments=stripslashes($_POST[Comments]);
echo "<table border=\"1\" width=\"60%\">
<tr><td>Comments</td>
</tr>
<tr>
<td>".nl2br($cleancomments)."</td>
</tr>
</table>";
Thanks in advance!