RegExp.replace

After a match is found with test(), this function will take the match results and, using the format string, generate and return a new string.

  1. string replace(string s, string format)
  2. string replace(string format)
    class RegExp
    string
    replace
    (
    string format
    )

Meta