html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Java Regular Expressions</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="description" content="Overcome your fear of regular expressions (regex) with this gentle introduction to regular expressions in Java.">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/atom-one-dark.min.css">
</head>
<body>
<div class="container">
<br />
<p class="text-center">
| <a>Java regex</a> | <a>Tutorial with examples</a> |
</p>
<h2 class="text-center">Java Regular Expressions</h2>
<br />
<p>
<b>Regular expressions</b> are used for defining String patterns that can be used for searching, manipulating and editing a text. These expressions are also known as <kbd>Regex</kbd> (short form of Regular expressions).
</p>
<br />
Enter to Rename, Shift+Enter to Preview
css
css
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
body {
background-color: #282a36;
color: #fff5b8;
font-family: 'Avenir', -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
}
h5 {
color: #f8f8f2;
}
div {
border-radius: 20px;
}
pre {
margin: 10px 0px;
background: #282c34;
color: #f8f8f2;
font-family: "IBM Plex Mono", 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace;
}
.custom {
background: linear-gradient(to bottom right, #142621, #262133, #1c2933);
margin: 10px 0px;
color: #fff;
}
.inv {
Enter to Rename, Shift+Enter to Preview
js
js
1
//by @boolean maybe
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run