I have a few video file like this: VideoName_s01e01.mp4 where the season and episodes are variables. I want to add an underscore (\"_\") between the s??>
VideoName_s01e01.mp4
s??>
-replace is using regex, not wildcards. Thus you have to change the replace to:
-replace
-replace '_s([0-9]{1,2})e([0-9]{1,2})', '_s$1_e$2_'