I would like to be able to create the following description and frequently update ONLY the links & promo section:
Potential solution:
___________________________________
Example Video 1 Before:
Bla bla bla intro
for video 1
---
Promo link = 1
___________________________________
Example Video 2 Before:
A completely different
video introduction for video 2
---
Promo link = 1
Whatever
___________________________________
Replace after a specific divider
Divider: ---
Replacement: My completely new
promo section with new links
___________________________________
RESULTS:
___________________________________
Example Video 1 After:
Bla bla bla intro
for video 1
---
My completely new
promo section with new links
___________________________________
Example Video 2 After:
A completely different
video introduction for video 2
---
My completely new
promo section with new links
___________________________________
Benefits of this approach:
- Unique intro text customized to the specific video
- Links & promo section that's the same for all videos
Potential solution:
- Regex search and replace
- Replace from the beginning of the description till divider
- Replace after divider till the end of the description (Example: https://regexr.com/4vcs4)
___________________________________
Example Video 1 Before:
Bla bla bla intro
for video 1
---
Promo link = 1
___________________________________
Example Video 2 Before:
A completely different
video introduction for video 2
---
Promo link = 1
Whatever
___________________________________
Replace after a specific divider
Divider: ---
Replacement: My completely new
promo section with new links
___________________________________
RESULTS:
___________________________________
Example Video 1 After:
Bla bla bla intro
for video 1
---
My completely new
promo section with new links
___________________________________
Example Video 2 After:
A completely different
video introduction for video 2
---
My completely new
promo section with new links
___________________________________
Benefits of this approach:
- It's easier to maintain
- Less prone to errors
- I don't have to copy and paste the exact text of my links & promo section
- Typos or fewer/extra spaces somewhere won't affect my text replacements
- I just have to keep my divider the same