Resource icon

xF2 Add-on Post Guard (basic) 2.0.0

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