Well, how do you expect it to work? What should it be doing?
No one can help you without those fairly basic questions being answered.
emc
" When in doubt, use brute force." — Ken ThompsonIn reply to Re: $line = trim($line);
by swampyankee
in thread Line trimming regex doesn't work as expected
by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |