Jump to content

str.replace dots and new paragraph


Recommended Posts

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");

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...