This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Change with your own path / fileName | |
| $subsFolder = ".\Subs" | |
| $fileName = "3_English.srt" | |
| # I want to remove the J“ and j“ substrings | |
| # “ is LEFT DOUBLE QUOTATION MARK (U+201C) | |
| $upperMarker = ([char]0x004A).ToString() + ([char]0x201C).ToString() | |
| $lowerMarker = ([char]0x006A).ToString() + ([char]0x201C).ToString() | |
| # Recursive loop to get files in the subfolders |