in reply to Bad Regex
As for the line count, you can simply keep a counter as you go through the lines of the file. So, set a variable outside of your foreach loop and increment each time to get the new line number.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Bad Regex
by Abigail-II (Bishop) on Jun 24, 2003 at 02:39 UTC |