Python solution using re module (Runtime: 89.15% beats | Memory:89.53% beats)
Intuition\nWhen dealing with string expressions that require data extraction based on specific conditions, I instinctively turn to Python\'s re module. It\u2019
# Intuition\nWhen dealing with string expressions that require data extraction based on specific conditions, I instinctively turn to Python\'s re module. It\u2019s a powerful tool for such tasks, especially for someone whose primary programming language is Python. After extracting the fractions, simplifying them is straightforward arithmetic. The process began with the operate function, and from there, the code evolved organically\u2014it\u2019s fascinating how ideas can flow so rapidly!\n\n# Approach\nI have used python \'re\' module to get hold of the fraction numbers.\nAfter getting all the fraction numbers I added them using a for loop. I will be getting an equivalent fraction at the end as an answer, which I will be simplifying further using math module\'s gcd function. Hence, getting a simplified fraction answer.\n\n- Time Complexity\n    The regular expression split takes O(n).\n    Each operation inside the loop takes O(1).\n    The loop runs O(k) times, where k is the number of fractions.\n    **So the overall time complexity is O(n + k), that can be considered as O(n)**\n\n- Space complexity:\nO(n)\n\n# Code\n```python3 []\nimport re\nfrom math import gcd\nclass Solution:\n    def fractionAddition(self, expression: str) -> str:\n        def operate(x, y):\n            n1 = [int(i) for i in x.split(\'/\')]\n            n2 = [int(i) for i in y.split(\'/\')]\n            nume =  (n1[0]*n2[1])+(n2[0]*n1[1])\n            den = (n1[1]*n2[1])\n            return f"{nume}/{den}"\n\n        def simplify_fraction(fraction):\n            num, denom = map(int, fraction.split(\'/\'))\n            common_divisor = gcd(abs(num), abs(denom))\n            num //= common_divisor\n            denom //= common_divisor\n            if denom < 0:\n                num = -num\n                denom = -denom\n            return f"{num}/{denom}"\n\n\n        fractions = re.findall(r\'[+-]?\\d+/\\d+\', expression)\n        result = fractions[0]\n        for i in range(1, len(fractions)):\n            result = operate(result, fractions[i])\n\n        return simplify_fraction(result)\n```
['Python3']