code matching into a tag
| From: | Leopoldo | Date: | Mon, 06 Nov 2000 16:36:15 +0000 |
| Subject: | code matching into a tag | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-23913@lists.php.net to get a copy of this message | ||
Hi people,
I need to take a text into a specific tag (<body>). But the tag can have
also any properties, for example: <body bgcolor="#000000">.
I want to match "my text is here <B>!!!</B>" in any of the following cases:
<body> my text is here <B>!!!</B> </body>
<body bgcolor="#001144"> my text is here <B>!!!</B> </body>
<body bgcolor="#001144" background="etc.jpg"> my text is here
<B>!!!</B>
</body>
<body bgcolor="#001144" background="etc.jpg" ...> my text is here
<B>!!!</B>
</body>
thanx
Leopoldo Wagner