so recently i tried to remove an unwanted [ from a string using gsub however it gives me a syntaxerror saying "invalid match pattern:expected ] at the end of the string to close a set
does anyone know how to solve this? and if not, know a workaround to achieve this
also this is my first ever post so im sorry if i did something wrong