Hallo!
I have the following issue:
$str = "apple[1] pear[3] tomato[4] some text [16]";
How do I can undo the numerals and the brackets (only together)? And to change them to empty space.
Like this : apple pear tomato some text
Regex will be used possibly?