-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
counter.html
164 lines (147 loc) · 7.84 KB
/
counter.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="A tool to count many things about text, such as character count, word count, sentence count, and paragraph count.">
<meta property="og:description" content="A useful collection of text symbols, letters, emojis, ASCII art, and a fancy font generator tool.">
<meta name="keywords" content="copy, copy and paste, emoticons, emojis, unicode, symbols, ascii, text, text art">
<meta name="author" content="R74n">
<meta property="og:type" content="website">
<meta property="og:site_name" content="Copy Paste Dump">
<meta name="twitter:image" content="https://c.r74n.com/favicon_square.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Character & Word Counter - Copy Paste Dump</title>
<meta property="og:title" content="Character & Word Counter - Copy Paste Dump">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<link rel="apple-touch-icon" sizes="180x180" href="https://c.r74n.com/icons/apple-touch-icon.png?v=lkvKdlj5Pj">
<link rel="icon" type="image/png" sizes="32x32" href="https://c.r74n.com/icons/favicon-32x32.png?v=lkvKdlj5Pj">
<link rel="icon" type="image/png" sizes="16x16" href="https://c.r74n.com/icons/favicon-16x16.png?v=lkvKdlj5Pj">
<link rel="manifest" href="https://c.r74n.com/icons/site.webmanifest?v=lkvKdlj5Pj">
<link rel="mask-icon" href="https://c.r74n.com/icons/safari-pinned-tab.svg?v=lkvKdlj5Pj" color="#00cdca">
<link rel="shortcut icon" href="https://c.r74n.com/icons/favicon.ico?v=lkvKdlj5Pj">
<meta name="msapplication-TileColor" content="#00aba9">
<meta name="msapplication-config" content="https://c.r74n.com/icons/browserconfig.xml?v=lkvKdlj5Pj">
<meta name="theme-color" content="#ffffff">
<meta http-equiv="content-language" content="en">
<script src="scripts.js"></script>
<script>
function update() {
text = document.getElementById("TextBox").value;
document.getElementById("ResultBox").innerHTML =
"<strong>Results</strong><ul>"+
"<li>Character Count: "+text.length+"</li>"+
"<li>Word Count: "+text.trim().split(/\s+/).length+"</li>"+
"<li>Sentence Count: "+text.trim().split(/[\.\?\!]\s/).length+"</li>"+
"<li>Paragraph Count: "+text.trim().split(/\n+/).length+"</li>"+
"</ul>"
}
</script>
</head>
<body>
<nav><div class="navdiv" id="navdiv">
<a class="skip" href="#content">Skip to content</a><a class="cpdtitle" href="https://c.R74n.com"><h1>Copy Paste Dump</h1></a><ul>
<!--&A--><a href="https://c.r74n.com" class="navhome"><img src="https://c.r74n.com/favicon_smaller_old.png" alt="Logo" title="Home"></a><!--&B--><a href="/unicode">Symbols</a><!--&C--><a href="/emoji">Emojis</a><!--&D--><a href="/faces">Faces</a><!--&E--><a href="/fonts">Font Generator</a><!--&F--><a href="/converter/">Converters</a><!--&G--><a href="/shapes">Shapes</a><!--&H--><a href="/pages" class="navimp">All Pages</a><!--&I--><a href="/search" class="navimp" title="Search" aria-label="Search" id="navsearch"> </a>
<!--&J--></ul></div></nav>
<div class="content" id="content">
<h2 class="pagetitle">Character & Word Counter</h2>
<p>With this tool, you can count characters, words, sentences, and paragraphs. Simply type or paste your text into the box below and the counts will appear under it.</p>
<form onsubmit="update();return false">
<textarea id="TextBox" style="height:100px;width:75%;font-size:25px;" onchange="update();" oninput="update();" placeholder="Enter text here to be counted."></textarea>
<p><span class="button" onclick="update();">Count</span></p>
</form>
<div id="ResultBox"></div>
</div>
<div style="width:100%;height:100px;margin:auto;">
<script data-ad-client="ca-pub-8485284630785740" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<div class="adbox">
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-8485284630785740"
data-ad-slot="5555682735"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div class="adbox">
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-8485284630785740"
data-ad-slot="5555682735"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-93720349-8"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-93720349-8');
</script>
<div class="footerdiv">
<div id="footershare">Share to: <em>Loading...</em></div>
<div class="footersect"><ul>
<li><strong>Symbols</strong></li>
<li><a href="/unicode">Text Symbols</a></li>
<li><a href="/emoji">Emoji</a></li>
<li><a href="/faces">Emoticon Faces</a></li>
<li><a href="/shapes">Shapes</a></li>
<li><a href="/arrows">Arrows</a></li>
<li><a href="/combining">Combining</a></li>
<li><a href="/invisible">Invisible</a></li>
<li><a href="/longest">Longest</a></li>
<li><a href="/emoji-art">Emoji Art</a></li>
<li><a href="/zwj">ZWJ Sequences</a></li>
<li><a href="/flags">Flag Emojis</a></li>
</ul></div>
<div class="footersect"><ul>
<li><strong>Tools & Tables</strong></li>
<li><a href="/fonts/">Font Generator</a></li>
<li><a href="/converter/">Text Converters</a></li>
<li><a href="/ascii">ASCII</a></li>
<li><a href="/html-entities">HTML Entities</a></li>
<li><a href="/windows/alt-codes">Alt Codes</a></li>
<li><a href="/braille">Braille</a></li>
<li><a href="/builder">Emoji Builder</a></li>
<li><a href="/sorter">List Sorter</a></li>
<li><a href="https://r74n.com/unisearch" target="_blank">UniSearch</a></li>
<li><a href="https://r74n.com/moji" target="_blank">R74moji</a></li>
</ul></div>
<div class="footersect"><ul>
<li><strong>Platforms</strong></li>
<li><a href="/instagram/">Instagram</a></li>
<li><a href="/twitter/">Twitter</a></li>
<li><a href="/tiktok/">TikTok</a></li>
<li><a href="/youtube/">YouTube</a></li>
<li><a href="/twitch/">Twitch</a></li>
<li><a href="/discord/">Discord</a></li>
<li><a href="/apple/">Apple</a></li>
<li><a href="/windows/">Windows</a></li>
<li><a href="/reddit/">Reddit</a></li>
<li><a href="/whatsapp/">WhatsApp</a></li>
</ul></div>
<div class="footersect"><ul>
<li><strong>Copy Paste Dump</strong></li>
<li><a href="/pages">All Pages</a></li>
<li><a href="/pages#events">Holidays & Events</a></li>
<li><a href="https://forms.gle/Puo615Gev1binwei9" target="_blank">Submission Form</a></li>
<li><a href="https://r74n.com" target="_blank">R74n</a></li>
<li><a href="https://sandboxels.r74n.com" target="_blank">Sandboxels</a></li>
<li> </li>
<li><a href="https://link.r74n.com/discord" target="_blank">Join the Discord</a></li>
<li><a href="https://tiktok.com/@r74n.com" target="_blank">R74n TikTok</a></li>
<li><a href="https://www.reddit.com/r/copypastedump/" target="_blank">Subreddit</a></li>
<li><a href="https://twitter.com/CopyPasteDump" target="_blank">Emoji Artist Twitter</a></li>
<li><a href="https://tiktok.com/@emoji__artist" target="_blank">Emoji Artist TikTok</a></li>
</ul></div>
<div class="footerbottom"><a href="https://R74n.com/" target="_parent"><img src="https://R74n.com/icons/favicon.svg" title="R74n.com" alt="R74n Logo"></a> © Copyright <a href="https://en.wikipedia.org/wiki/2023" target="_blank">2023</a> <a href="https://R74n.com/" target="_parent" class="R74nCR">R74n</a>.</div>
</div>
</body>
</html>