MyBB Community Forums

Full Version: I got a MyCode Error!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
If I make a MyCode that like this:

Regular Expression:
[test]

Replacement:
This is a test

And if I then go write a post with the text:
[Test]

It will look likes this:
This is a testThis is a testThis is a testThis is a testThis is a test

Also if I just write:
t

Then it will be:
This is a test

Any ideas how to fix this?
You need to escape the [ and ]

Regular expression: \[test\]