[-] aU5ern4me@lemmynsfw.com 1 points 9 months ago

My given regex archives exactly this :P you can test it with an online regex tester. I dont know if the bot supports this kind of regex.

[-] aU5ern4me@lemmynsfw.com 1 points 9 months ago* (last edited 9 months ago)

You could ofc also enforcy only one or max 3 char's between the [ ] and force it to be at the start

^(?!\[.{1,3}\]).*
[-] aU5ern4me@lemmynsfw.com 1 points 9 months ago* (last edited 9 months ago)

Maye negating regex work? Something like

^(?!.*\[.+\]).*

(Everything without a [ followed by any character at least one time followed by ] )

view more: ‹ prev next ›

aU5ern4me

joined 1 year ago