This content has been marked as final. Show 3 replies
I think you could do that, if you get the regex to match a space or a " char. There will probably be an empty string in there as well, since there's a space next to a ".
I assume you meant to use the same name twice, and aren't expecting the regex to replace John with Colin :)
["hello", "I", "am", "", "Colin"]