Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 46 additions & 39 deletions RegNumericRange.html
Original file line number Diff line number Diff line change
@@ -1,53 +1,60 @@
<!DOCTYPE html>
<html>
<head>

<head>
<meta charset="utf-8">
<title>Regex Numeric Range Generator</title>
<link rel="stylesheet" href="style.css" media="screen" title="no title" charset="utf-8">
<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="http://cdn.rawgit.com/zenorocha/clipboard.js/master/dist/clipboard.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js"></script>
<script type="text/javascript" src="RegNumericRange.min.js"></script>
<script type="text/javascript" src="app.js"></script>
</head>
<body>
</head>

<body>
<div id="loader"><img src="loader.gif" /></div>
<div class="container">
<h1>Regex Numeric Range Generator</h1>
<div id="message"></div>
<form id="generate">
<div class="form-group">
<label for="min-value">Min. Value</label>
<input type="text" placeholder="Minimum Integer Value" id="min-value" maxlength="13" value="">
</div>
<div class="form-group">
<label for="max-value">Max. Value</label>
<input type="text" placeholder="Minimum Integer Value" id="max-value" maxlength="13" value="">
</div>
<div class="form-group">
<label for="max-value">Options</label>
<div class="checkboxes">
<label for="mww"><input type="checkbox" name="mww" id="mww" value="true"/> Match Whole Word</label>
<label for="mwl"><input type="checkbox" name="mwl" id="mwl" value="true"/> Match Whole Line</label>
<label for="mlz"><input type="checkbox" name="mlz" id="mlz" value="true"/> Match Leading Zero</label>
<label for="verbose"><input type="checkbox" name="verbose" id="verbose" value="true"/> Show the Process Step by Step</label>
</div>
</div>
<div class="form-group">
<button type="submit" name="button">Generate Regex</button>
</div>
</form>
<h2>Result</h2>
<div id="result">
<textarea id="pattern" readonly=""></textarea>
<button type="button" name="button" id="copytoclipboard" data-clipboard-target="#pattern">Copy to Clipboard</button>
</div>
<h1>Regex Numeric Range Generator</h1>
<div id="message"></div>
<form id="generate">
<div class="form-group">
<label for="min-value">Min. Value</label>
<input type="text" placeholder="Minimum Integer Value" id="min-value" maxlength="13" value="">
</div>
<div class="form-group">
<label for="max-value">Max. Value</label>
<input type="text" placeholder="Minimum Integer Value" id="max-value" maxlength="13" value="">
</div>
<div class="form-group">
<label for="max-value">Options</label>
<div class="checkboxes">
<label for="mww">
<input type="checkbox" name="mww" id="mww" value="true" /> Match Whole Word</label>
<label for="mwl">
<input type="checkbox" name="mwl" id="mwl" value="true" /> Match Whole Line</label>
<label for="mlz">
<input type="checkbox" name="mlz" id="mlz" value="true" /> Match Leading Zero</label>
<label for="verbose">
<input type="checkbox" name="verbose" id="verbose" value="true" /> Show the Process Step by Step</label>
</div>
</div>
<div class="form-group">
<button type="submit" name="button">Generate Regex</button>
</div>
</form>
<h2>Result</h2>
<div id="result">
<textarea id="pattern" readonly=""></textarea>
<button type="button" name="button" id="copytoclipboard" data-clipboard-target="#pattern">Copy to Clipboard</button>
</div>
</div>
<p class="copyright">&copy; 2015. Erwin Yusrizal - <a href="http://www.testing.agency" title="A/B Testing Agency">Testing.Agency</a></p>
<div id="console">
<h2>Console</h2>
<div class="console-wrapper">
<ul></ul>
</div>
<h2>Console</h2>
<div class="console-wrapper">
<ul></ul>
</div>
</div>
</body>
</body>

</html>