1

I have some html I am trying to manipulate eg:

imgsrc=\"Myimage1.file/img2222.jpg"

I want to gsub this so that I get

<img src="Myimage1.file/img2222.jpg"

I have tried

gsub("imgsrc=\\","<img src=",mydf$V1,fixed=TRUE)

but nothing gets replaced. What have I done wrong?

zx8754
  • 52,746
  • 12
  • 114
  • 209
Sebastian Zeki
  • 6,690
  • 11
  • 60
  • 125

0 Answers0