how can your script know where to put tags??? it cant...
you can tell user to insert marks if he wants tags to go around that text later, like:
hello, i want this to be #bold# and this to be %italic%
and then replace that. i dont really get this one.
Matjaz