Steve Buehler <mailto:steve@xxxxxxxxx> on Friday, March 25, 2005 11:50 AM said: > It would also be fine to just do a loop that checks each line. > Since I guess that would be quicker. If the line starts with > a #, then ignore it, otherwise, do some other stuff. Yeah do this. You don't need a regular expression in this case. Look at the string functions in the PHP manual (http://php.net/substr) to find out how to check what the first character of the line is. Does that help? Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php