|
33 | 33 | </noscript> |
34 | 34 | <!-- End Google Tag Manager (noscript) --> |
35 | 35 |
|
36 | | - <p>Hello world! This is HTML5 Boilerplate.</p> |
37 | | - |
38 | | - <footer> |
39 | | - <p>© <a href="http://www.wimpyprogrammer.com/">WimpyProgrammer.com</a> 2018</p> |
40 | | - <p> |
41 | | - <a href="https://github.com/wimpyprogrammer/collapse-regex-char-set">Fork me on GitHub</a> |
42 | | - or <a href="https://github.com/wimpyprogrammer/collapse-regex-char-set/issues">report an issue</a> |
43 | | - </p> |
44 | | - </footer> |
| 36 | + <nav class="navbar navbar-expand-lg navbar-dark bg-primary"> |
| 37 | + <a class="navbar-brand" href="javascript:void(0)">RegEx Pattern Creator</a> |
| 38 | + </nav> |
| 39 | + |
| 40 | + <div class="container"> |
| 41 | + <form class="jumbotron"> |
| 42 | + <p class="lead">Generate a concise Regular Expression.</p> |
| 43 | + |
| 44 | + <div class="form-group"> |
| 45 | + <label for="words"> |
| 46 | + Words or phrases the Regular Expression should match: |
| 47 | + </label> |
| 48 | + <textarea id="words" class="form-control"></textarea> |
| 49 | + </div> |
| 50 | + |
| 51 | + <div class="form-group"> |
| 52 | + <label for="delimiter"> |
| 53 | + Words/phrases are separated by: |
| 54 | + </label> |
| 55 | + <select id="delimiter" class="form-control"> |
| 56 | + <option value="," selected="selected">Comma</option> |
| 57 | + <option value=" ">Space</option> |
| 58 | + <option value="\n">Newline</option> |
| 59 | + </select> |
| 60 | + </div> |
| 61 | + |
| 62 | + <div class="form-group form-check"> |
| 63 | + <input type="checkbox" checked="checked" id="trim-whitespace" class="form-check-input"> |
| 64 | + <label for="trim-whitespace"> |
| 65 | + Trim whitespace surrounding each word/phrase |
| 66 | + </label> |
| 67 | + </div> |
| 68 | + |
| 69 | + <div class="form-group"> |
| 70 | + <button type="button" class="btn btn-primary"> |
| 71 | + Generate Regular Expression |
| 72 | + </button> |
| 73 | + </div> |
| 74 | + </form> |
| 75 | + |
| 76 | + <section class="output"> |
| 77 | + <div class="form-group"> |
| 78 | + <label for="output"> |
| 79 | + Matching Regular Expression: |
| 80 | + </label> |
| 81 | + <textarea readonly="readonly" id="output" class="form-control"></textarea> |
| 82 | + </div> |
| 83 | + </section> |
| 84 | + |
| 85 | + <footer> |
| 86 | + <p>© <a href="http://www.wimpyprogrammer.com/">WimpyProgrammer.com</a> 2018</p> |
| 87 | + <p> |
| 88 | + <a href="https://github.com/wimpyprogrammer/collapse-regex-char-set">Fork me on GitHub</a> |
| 89 | + or <a href="https://github.com/wimpyprogrammer/collapse-regex-char-set/issues">report an issue</a> |
| 90 | + </p> |
| 91 | + </footer> |
| 92 | + </div> |
45 | 93 |
|
46 | 94 | </body> |
47 | 95 |
|
|
0 commit comments