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
  • 46,390
  • 10
  • 104
  • 180
Sebastian Zeki
  • 6,430
  • 8
  • 47
  • 113

0 Answers0