This plugin adds word count functionality to TinyMCE, placing a counter on the right edge of the status bar.
**Type:** `String`
##### Example
```js
tinymce.init({
selector: "textarea", // change this value according to your HTML
plugins: "wordcount"
});
```
### Options
These settings affect the execution of the `wordcount` plugin. The regular expression values that determine how words are cleaned and counted may be set here.
### `wordcount_cleanregex`
This option allows you to specify the regular expression that will be used to *strip punctuation and numbers* from the word count. **Removed in 4.5.0**
**Type:** `String`
##### Example
```js
tinymce.init({
selector: "textarea", // change this value according to your HTML
This option allows you to specify the regular expression that will be used to *count the words* for the word count. **Removed in 4.5.0**
This plugin adds word count functionality to TinyMCE by placing a counter on the right edge of the status bar. Clicking the wordcount in the statusbar switches between counting words and characters. Using the menuitem, situated in the Tools dropdown, or the toolbar button you can open a dialog box with both word and character counts.
**Type:** `String`
@ -51,6 +16,6 @@ This option allows you to specify the regular expression that will be used to *c
tinymce.init({
selector: "textarea", // change this value according to your HTML