Yes, I know, but I saw all the code I posted earlier has the same layout, even if it are diffrent tests. So my guess was to put those specific codes in it and it should work for every test.
I tried replacing a regular
tag with the correct BB code with this in the enCodeBB() :
It won't work though and frankly I don't have any idea what I'm doing/should do with that regex code...
I'm going to read some regex tutorials... Guess I'll need that.