-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRegex2.html
33 lines (29 loc) · 805 Bytes
/
Regex2.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
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='UTF-8' />
<title>Regex runner</title>
<link rel='stylesheet' href='regex-styles.css' />
</head>
<script src="JS/Regex2.js"></script>
<script>
window.onload = function () {
document.getElementById("render-button").addEventListener("click", function () {
setValues()
runRegexes();
});
}
</script>
<h1>Regex editor</h1>
<div id="top-div">
<div id="main-input-div">
Input
<textarea type="text" id="main-input" placeholder="Find"></textarea>
<button id="render-button">Click to render</button>
</div>
<div id="result-display-div">
Result:
<textarea type="text" id="output-display" placeholder="Output"></textarea>
</div>
</div>
</html>