I need to replace all the occurrence of the string World [*] : with 2000.
Output: 20002000hello
How can I achieve that?
I am currently using the below code but it is not working.
preg_replace("/World [(.*?)] : /", "2000", "World [23] : World[125] : hello",-1)