loloan75 Posted August 3, 2020 Share Posted August 3, 2020 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"); Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now