quote:
Originally posted by -dt-
code:
Message = Message.replace(/\[b\](.*?)\[\/b\]/g, "$1");
thats all im going to say
The reason for me not doing that was because I had to get the corresponding ends and beginnings when it it came to the colouring of the text and background an I just copied the part I needed rather than try thinking it all through again, but thanks for that though.
* markee goes back to see where else he made his code too long...