Answer the question
In order to leave comments, you need to log in
How to replace text with regular expressions in Ruby?
There is a text line in which a preposition occurs, my
I need to replace this preposition with in the whole sentence me
, but if, for example, such a sequence of letters occurs in a word, then nothing needs to be changed inside the word, only an independent preposition, how can this be done?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question