Everything not containing "string"

((?!string).)*$

^(?:(?!string).)*$

Can wrap in () for $1

Replace duplicates

((^[^\\S$]*?(?=\\S)(?:.*)+$)[\\S\\s]*?)^\\2$(?:\\n)?$1

^(.*)(\\n\\1)+$

Korean: [가-힣]

Subtitles: stretch previous to next

(\\d\\d:\\d\\d:\\d\\d,\\d\\d\\d)\\n((.+\\n)+)\\n(\\d+)\\n(\\d\\d:\\d\\d:\\d\\d,\\d\\d\\d)$5\\n$2\\n$4\\n$5

Subtitles: remove numbers

(\\d\\d:\\d\\d:\\d\\d,\\d\\d\\d)\\n((.+\\n)+)\\n(\\d+)\\n(\\d\\d:\\d\\d:\\d\\d,\\d\\d\\d)$5\\n$2\\n$5

Replaces things in parenthesis

\\(.+?\\)\\s