Guys.
I want to remove all the returns and new lines and replace them with a [#] instead in a string. In this case, the variable is clipboard. How would I do that?
Removing characters from a string? Topic is solved
Re: Removing characters from a string?
The following doesn't work for me. Why?
Code: Select all
RegExReplace(clipboard, `n `r, "#")
Re: Removing characters from a string? Topic is solved
Functions use expressions.
Code: Select all
Clipboard := StrReplace(Clipboard, "`n", "#")
Code: Select all
Clipboard := RegExReplace(Clipboard, "\R", "#")