1
+ <!-- MIT License
2
+
3
+ Copyright (c) 2023 - 2024 treeben77
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE. -->
22
+
23
+ < head >
24
+ < title > AutoMod Regex Generator</ title >
25
+ < meta property ="og:title " content ="AutoMod Regex Generator "/>
26
+ < meta property ="og:description " content ="Quickly generate a regex for Discord's AutoMod that will protect your community from using leetspeak to bypass keyword rules. "/>
27
+ < meta name ="viewport " content ="initial-scale=1.0, maximum-scale=1.0, width=device-width, user-scalable=no "/>
28
+
29
+ < link rel ="stylesheet " href ="static/main.css ">
30
+ </ head >
31
+ < body >
32
+ < div class ="banner-notification banner-critical " id ="javascript-disabled ">
33
+ Enable JavaScript to generate regexes.
34
+ </ div >
35
+ < div class ="banner-notification banner-error " id ="javascript-disabled-secondary ">
36
+ Enable JavaScript to generate regexes.
37
+ </ div >
38
+ < script >
39
+ document . getElementById ( "javascript-disabled" ) . hidden = true ;
40
+ document . getElementById ( "javascript-disabled-secondary" ) . hidden = true ;
41
+ </ script >
42
+ < div class ="header ">
43
+ < a href ="/automod-regex-generator/ "> AutoMod Regex Generator</ a >
44
+ < div class ="pages ">
45
+ < a href ="regexes.html "> Regexes</ a >
46
+ < a href ="api.html "> API</ a >
47
+ </ div >
48
+ </ div >
49
+ < div class ="content ">
50
+ < p > Generate regexes for Discord's AutoMod that will protect your community from using special characters to bypass auto moderation and send hard to read messages.</ p >
51
+
52
+ <!-- <div class="step">
53
+ <p>1. insert bitwise</p>
54
+ <input type="number" class="text-input" id="word-input" value="hello world">
55
+ </div> -->
56
+
57
+ < div class ="step ">
58
+ < div class ="title-with-right-element ">
59
+ < p > 1. Choose your allowed character classes.</ p >
60
+ < button class ="right-element " id ="reset-settings "> Reset Settings</ button >
61
+ </ div >
62
+ < div class ="grid-row smaller-grid-items ">
63
+ < div class ="grid-item ">
64
+ < input type ="checkbox " id ="filter-let " checked > Letters
65
+ < p > Capital and lowercase English letters, doesn't include accents.</ p >
66
+ </ div >
67
+ < div class ="grid-item ">
68
+ < input type ="checkbox " id ="filter-num " checked > Numbers
69
+ < p > All numbers 0 to 9.</ p >
70
+ </ div >
71
+ < div class ="grid-item ">
72
+ < input type ="checkbox " id ="filter-asc " checked > ASCII Symbols
73
+ < p > All ASCII symbols excluding letters and numbers (e.g. $, ?, ], ")</ p >
74
+ </ div >
75
+ < div class ="grid-item ">
76
+ < input type ="checkbox " id ="filter-sym " checked > Extended Symbols
77
+ < p > Other common symbols used by mobile phones, etc (e.g. ©, ±, ”)</ p >
78
+ </ div >
79
+ < div class ="grid-item ">
80
+ < input type ="checkbox " id ="filter-acc " checked > European Accents
81
+ < p > Capital and lowercase letters with European accents (e.g. è, ö, ñ, ß)</ p >
82
+ </ div >
83
+ < div class ="grid-item ">
84
+ < input type ="checkbox " id ="filter-emo " checked > Emojis
85
+ < p > Emojis and stuff idk</ p >
86
+ </ div >
87
+ < div class ="grid-item ">
88
+ < input type ="checkbox " id ="filter-cyr "> Cyrillic Characters
89
+ < p > Characters from the Cyrillic script (e.g. П, А, Д) < a class ="warning-description "> These characters can look the same as Latin characters.</ a > </ p >
90
+ </ div >
91
+ < div class ="grid-item ">
92
+ < input type ="checkbox " id ="filter-kaj "> Kanji Characters
93
+ < p > Characters used in Japanese and Chinese (e.g. ん, 例, 好)</ p >
94
+ </ div >
95
+ < div class ="grid-item ">
96
+ < input type ="checkbox " id ="filter-arb "> Arabic Characters
97
+ < p > Characters used in Arabric (e.g. ا, ي, ت)</ p >
98
+ </ div >
99
+ </ div >
100
+ </ div >
101
+
102
+ < div class ="step ">
103
+ < p > 2. Copy the generated regex!</ p >
104
+ < div class ="error-box " id ="regex-error-toolong " hidden >
105
+ This Regex is too long! You need to shorten it by shortening the word or disabling some customizer settings!
106
+ </ div >
107
+ < div class ="regex-results ">
108
+ < button id ="copy-regex "> Copy</ button >
109
+ < a id ="regex-output ">
110
+ h[e3]ll[o0] w[o0]rld
111
+ </ a >
112
+ </ div >
113
+ </ div >
114
+
115
+ < p > You can also visit the < a class ="link " href ="regexes.html "> Regexes page</ a > to find regexes that block links, zalgo, and more.</ p >
116
+
117
+ < script src ="static/allowcharacters.js " type ="module "> </ script >
118
+ </ div >
119
+ < div class ="footer ">
120
+ < div class ="footer-left ">
121
+ AutoMod Regex Generator
122
+
123
+ < p > © treeben77 2024. Not affiliated with Discord.</ p >
124
+ </ div >
125
+ < div class ="footer-right ">
126
+ < p > Made by < a class ="link " href ="https://treeben77.xyz "> treeben77</ a > </ p >
127
+ < p > Join the < a class ="link " href ="https://discord.gg/4CSc9E5uQy "> Discord Server</ a > </ p >
128
+ < p > View the source on < a class ="link " href ="https://github.com/treeben77/automod-regex-generator "> GitHub</ a > </ p >
129
+ </ div >
130
+ </ div >
131
+ </ body >
0 commit comments