Replace, displace, supplant, supersede mean to put out of a usual or proper place or into the place of another The pattern can be a string or a regexp, and the replacement can be a string or a function called for each match. Replace implies a filling of a place once occupied by something lost, destroyed, or no longer usable or adequate.
To take the place of something, or to put something or someone in the place of something or… The replace() method of string values returns a new string with one, some, or all matches of a pattern replaced by a replacement Replace, supersede, supplant refer to putting one thing or person in place of another
To replace is to be or to furnish an equivalent or substitute, especially for one that has been lost, depleted, worn out, or discharged We can learn to replace turbulent passions with peaceful emotions (margaret visser). Master the word replace in english To start using another thing or person instead of the one that you are using now