-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (42 loc) · 1.04 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Regex Replace input</title>
<script type="module" src="/src/regex-replace.ts"></script>
<style>
:root {
--btn-colour: #fff;
--btn-bg-colour: rgb(0, 85, 34);
--txt-colour: #fff;
--bg-colour: #2d2b2b;
--border-radius: 0.85rem;
--default-input-font: 'Courier New', Courier, monospace;
}
body {
background-color: var(--bg-colour);
color: var(--txt-colour);
font-family: Arial, Helvetica, sans-serif;
}
.field {
display: flex;
align-items: flex-start;
margin: 1rem 0;
padding: 1rem;
border-top: 0.1rem dotted #fff;
}
.field label {
padding-right: 1rem;
color: var(--txt-colour);
}
</style>
</head>
<body>
<h1>Regex Replace</h1>
<regex-replace pattern="[^0-9]+" replace="" testable>
<p>This is child content</p>
</regex-replace>
</body>
</html>