Post submission link flair

https://www.reddit.com/r/AutoModerator/comments/1icocmc/post_submission_link_flair/

created by lucasmd on 29/01/2025 at 07:17 UTC

2 upvotes, 0 top-level comments (showing 0)

I need AM to remove a post with unmodified {Years} link flair. Others link flair is fixed. Except one which user can modify them.

`---`

`type: submission`

`reports:`

`- "No valid year in flair"`

`conditions:`

`- operator: "regex_match"`

`field: "link_flair_text"`

`value: "^(?!.*\b(19|20)\d{2}\b).*"`

`actions:`

`- remove`

`- message:`

`subject: "Your post was removed"`

`body: "Your post must include a valid four-digit year (e.g., 2024) in the link flair. Please resubmit with the correct flair."`

`---`

Does the above code correct?

Comments

There's nothing here!