View Single Post
Old 26-01-2006, 12:47 PM   #15
Rogue
10 GOSUB Abandonia
20 GOTO 10
 
Rogue's Avatar

 
Join Date: Nov 2004
Location: Afrim, Albania
Posts: 2,113
Default

Then in reg. expression, you have to check for this:

'(\[b\])?(\[\/b\])'

or something like that.

So, you're looking for regular expression that in one line has both opening and closing tag, and use replace function to fix it.

I'm not sure if ? will work for all characters between, data might be able to tell you that. (or just check reference on the page you posted above)

When you are done, check for tags that have no matching opening/closing tag.
Rogue is offline                         Send a private message to Rogue
Reply With Quote