Hi there!
I am trying to remove some text in a placeholder (more specifically: the world generator for certain biomes, the world generator adds some new biomes, but the name of the world generator is included in that biome). I would like to remove the first bit of the placeholder if it matches, otherwise leave the placeholder intact. Is there a way to achieve this?
An example of a biome that would match is terraformgenerator.scarlet_forest. So this should become just scarlet_forest.
Any help would be greatly appreciated!