[WMTech] Post Guard (basic)

[WMTech] Post Guard (basic) 1.1.5

No permission to download
List of useful regex

Posts

Post is only a quote: /^\s*\[quote.*?\].*?\[\/quote\]\s*$/si
Post contains specific word or phrase, e.g. "apple": /\bapple\b/si
Post has more than x characters without line breaks: /^.{20,}$/m (where 20 is the number of characters)
Post has more than x characters without punctuation on a line: /[^.,\/#!$%\^&\*;:{}=\-_`~()?]{20,}?/m (where 20 is the number of characters)
Post contains an external URL: /\b(https?|ftp|file):\/\/(?!xenforo.com\b)[-A-Z0-9+&@#\/%?=~_|!:,.;]*[A-Z0-9+&@#\/%=~_|]/si (where xenforo.com is the local domain to permit links to)

Titles
Title has clickbaity "..." tail: /\.\.\.\s*$/
Two or more exclamation marks in a row: /!{2,}/si
Top Bottom