Input string examples are as follows, It may contains white space,
example 1: abc?contains(\"good\")
example 2: abc? contains(\"good\")
example 3: abc ?contains(\"good\")
example 4: abc ? contains(\"good\")
Answer for all above should be : abc CONTAINS(\"good\")
Note : regular expression have to remove all white space and Question mark and replace small case "contains" with upper case "CONTAINS".