View Problem

Replace all regex matches in a string with a static string

Transform "She sells sea shells" into "She X X shells" by replacing /se\w+/ with "X"
ExpandDiskEdit
fantom
replaced := Regex<|se\w+|>.split("She sells sea shells").join("X")

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