python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Remove specific string with quoted substring at the end
I want to remove all occurrences of data-content="..." from my string.
The characters between the double quotes will change and are dynamic.
I have tried something like
gsub(/data-content=[^...
S Mares
Votes: 0
Answers: 1
How could I delete 50% of the smileys from a text, selected randomly, with Ruby?
For example:
"Hi! How :) are :) you? I'm :) fine.:)".magic()
=> "Hi! How are :) you? I'm fine.:)"
or
=> "Hi! How are :) you? I'm :) fine."
or
...
Only :) smiley sh...
Konstantin
Votes: 0
Answers: 2
how can I replace dot for comma?
Im trying to replace the dot of a fiji output for comma of all .txt in a folder. My problem is that I am using gsub function which coerce my numerical values to chraracters so when I try to become tho...
VÍCTOR MANUEL PÉREZ ROSA
Votes: 0
Answers: 0