regexmatch.dev
Explore

Save & Share

Facebook
Twitter
Tumblr
E-Mail
Pinterest
LinkedIn
Reddit

donotbackup

Published on Tue Mar 01 2022

finding directories w/ donotbackup

donotbackup test_donotbackup donotbackup_test test_donotbackup_test TEST_DONOTBACKUP_TEST

Additional matching regexes for
donotbackup

donotbackup

finding directories w/ donotbackup

Username:Password

Regex For finding username:password

Distinguish torrent files (series vs movies)

A neat regex for finding out whether a given torrent name is a series or a movie. Returns the full name of the series with the separator needed to make it pretty (ie, replace it with space or what you want). Also returns the season number or the year for the movie/series, depending on what was previously matches. If I had done this in perl there would be much less logic needed in the regex, but python is what I'm working with so..