Jump to content

loloan75

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by loloan75

  1. Hello,
    I am new to this forum and first of all I would like to say hello to everyone! And thank you in advance!

    My question is as follows: I would like to replace in a text the dots and new paragraph with the letter "d". How can I do that? I have tried several ways with str.replace but I can't get it:

    str.replace ( /\.|r/g, "d");

×
×
  • Create New...