View Problem

Replace the first regex match in a string with a static string

Transform "Red Green Blue" into "R*d Green Blue" by replacing /e/ with "*"
ExpandDiskEdit
fantom
replaced := Regex<|e|>.split("Red Green Blue",2).join("*")

Submit a new solution for fantom
There are 14 other solutions in additional languages (clojure, cpp, erlang, fsharp ...)