# Leetcode 537 - Complex Number Multiplication

Note:

• Use split with regex to accelerate.

Question:

A complex number can be represented as a string on the form “real+imaginaryi” where:

• real is the real part and is an integer in the range [-100, 100].
• imaginary is the imaginary part and is an integer in the range [-100, 100].
• $i^2 == -1.$

Given two complex numbers num1 and num2 as strings, return a string of the complex number that represents their multiplications.

Example:

Code: