Subtitles.ReplaceAll Method (Regex, String, Int32[], String[])
Replaces all occurences of some text with the specified replacement.
Parameters
-
regex
- A regular expression used to find the text to be replaced.
-
replacement
- The text that will be used as a replacement.
-
replacedSubtitles
- The numbers of the subtitles that were replaced.
-
oldTexts
- The texts of the subtitles that were replaced, before replacement was done.
Return Value
The number of replaced subtitles.
Remarks
The newline (\n) char is used as the line break.
See Also
Subtitles Class | SubLib Namespace | Subtitles.ReplaceAll Overload List