Greetings all.
I'm looking for some assistance in a small vbscript problem that has my mind bending into pretzels. :x
Let's say we have a string like this:
Basically what I want to do with that string is replace all the <br>'s with <p>'s in that string EXCEPT for the <br>'s in between the [tag] and [/tag]. Is this possible programmaticaly? I was debating regular expressions, but wouldn't that only flag what's inside [tag] and [/tag] and not what's outside?
Any help is appreciated!
-S
I'm looking for some assistance in a small vbscript problem that has my mind bending into pretzels. :x
Let's say we have a string like this:
Code:
"abcdefghijklmnop <br> abcdefghijklmnop <br> abcdefghijk [tag] abcdefghijklmnopqr <br> abcdefghijklmnop <br> [/tag] abcdefghijklmnop <br> abcdefghijklmnop <br>"
Basically what I want to do with that string is replace all the <br>'s with <p>'s in that string EXCEPT for the <br>'s in between the [tag] and [/tag]. Is this possible programmaticaly? I was debating regular expressions, but wouldn't that only flag what's inside [tag] and [/tag] and not what's outside?
Any help is appreciated!
-S