I need a gsub function that removes type annotations from a string
e.g local a: string = "hello"
into local a = "hello"
I did this with string.gsub(str, ":(.*)=", " =") but I also need it for functions
E.g. local function testFunction(varA: string|boolean, varB): CFrame
into local function testFunction(varA, varB)