I have a table of input of words such as:
Input
Result
Biology[23], Chemistry, Physics[17], History, [21]Geography[11]
Biology, Chemistry, Physics, History, Geography
Mathematics,[27] Science (Terminated), [51]English,[36] History,[79] Music[3]
Mathematics, Science, English, History...