On Thursday 03 February 2005 03:44, KHS wrote: > >On the other hand, I think you could safely do: > > > >$regex = "^#include(.*)$"; > > > >and get what you want by using trim on the captured expression. > > no this would leave me with <, >, and " marks. Then string replace those characters. Or am I missing something terribly obvious? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ New Year Resolution: Ignore top posted posts -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php