Hi filburt1. Thanks for your code, but it doesn't work as it should
It replaces absolutely all the <br />'s on the variable... But I only need to replace the <br />'s that are inside the <myhtml> and </myhtml> tags.
For example:
This:
Code:
<html>
<head><title></title>
</head>
<body>
.
.
Text out side<br />
of the myhtml tags<br />
.
<myhtml>
Here is some text<br />
and some more text<br />
Bye.
</myhtml>
.
.
.
</body></html>
would turn into this:
Code:
<html>
<head><title></title>
</head>
<body>
.
.
Text out side<br />
of the myhtml tags<br />
.
<myhtml>
Here is some text\n
and some more text\n
Bye.
</myhtml>
.
.
.
</body></html>
If you could help me with that one, I will thank you my whole life

!