-1

I'd like to setup auto download of some Anime using an RSS feed, but only 720p versions. The format never changes and it always looks like below.

[Blahblah] Blahepisode - 12 [720p].mkv

Here is the regex I have come up with but cannot get to work properly.

/.\+[720p]+/g

Any help would be appreciated!

slimsubs
  • 1
  • 1

1 Answers1

0

Assuming you have lines that look like your example, it will be mached with the following Regex:

.+(?:\[720p\].mkv)

It maches one or more chacacters at start, followed by '[720p].mkv'.

Note that the Square brackets are escaped to '\[' and '\]', otherwise they have special meaning.

if you only need '[720p]' then you can use:

\[720p\]
Poul Bak
  • 10,450
  • 5
  • 32
  • 57