i found some problems because its only supposed to remove style tags for e.g

Code:
  var %tags = [[]root[][][[[]]

  echo -a Normal: $striptags(%tags)


Normal: root]

it should give [[]root[][][[[]] becasue there arent any style tags in it

sorry i should have been more clear in my first post. i only want to remove the style tags which look like
[style attributes]some text here[/style]

Last edited by pouncer; 23/09/07 06:28 PM.