0

I would like to find and replace all the instances of

https://www.youtube.com/youtube-id

with [embed]https://www.youtube.com/youtube-id[/embed]

I considered using regex but I need it to surround the dynamic link, each link has a different id.

Any ideas?

Top-Bot
  • 782
  • 1
  • 6
  • 21

1 Answers1

0

A well documented solution can be found here

Community
  • 1
  • 1
Doqnach
  • 372
  • 1
  • 8