-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
30 lines (23 loc) · 996 Bytes
/
index.html
File metadata and controls
30 lines (23 loc) · 996 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Regular Expression Assistant</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<script type="text/javascript" src="regex.js"></script>
<link rel="stylesheet" type="text/css" href="reg.css">
</head>
<header class="masthead">
<div id="title">Regular Expression Assistant</div>
<div id="about">
<p>This is a website for parsing regular expressions!<p>
</div>
</header>
<body>
<input type="text" id="input" name="reg" required placeholder="Enter regular expression here"
minlength="2" maxlength="50" size="110" >
<br><textarea id="textarea" required rows="5" cols="100" placeholder="Enter string here"></textarea>
<br><button id="button" onclick="highlight()">Parse</button>
<br><h3>The result of parsing your regex on the input text you've provided: </h3><br>
<p id="result"></p>
</body>