hi, i just found out i need to rework my regX because the wx report format changesd and was hoping for some quick help (help!).
http://www.uac.pdx.edu/source.php?file=/avalanche.php
$rf = eregi_replace ("(*{8,})\n", "<BR>\1<BR>", $rf);
$rf = eregi_replace ("\n{2}([a-zA-Z0-9]{2})", "\n\n<P>\1", $rf);
$rf = eregi_replace ("\n{1}<P>|\n", "\n<BR>\1", $rf);
$rf = eregi_replace ("[[:space:]]{5,}", "\n<BR><IMG src=\"/images/spacer.gif\" width=\"50\" height=\"1\">", $sections[2]);
the idea is \n\n gets replaced with <P> and a single \n with <BR>. any suggestions on keeping the second from being greedy?
thanks for your help on this URGENT! matter.