regex questions
| From: | Jerry Lake | Date: | Tue, 10 Jul 2001 21:04:27 +0000 |
| Subject: | regex questions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-57243@lists.php.net to get a copy of this message | ||
ok, I'm having some continual regex
issues and perhaps someone can help
me out with this. I've got a series
of line of html that I am changing
to xhtml and in doing so, each of those
lines need to be appended with a " /"
before the closeting bracket.
the only pattern that they share is
that the end of the line ends with a number,
quotes and a closing bracket i.e. 7">
I can match that pattern, with .\d"> but
when I try to replace it, I also replace
the number at the end, and not just append
the line like I want to.
can someone show me where I am going wrong
Thanks,
Jerry Lake
Interface Engineering Technician
Europa Communications - http://www.europa.com
Pacifier Online - http://www.pacifier.com