@wordpress/wordcount
Version:
WordPress word count utility.
10 lines • 465 B
TypeScript
/**
* Replaces items matched in the regex with spaces.
*
* @param {import('./index').WPWordCountSettings} settings The main settings object containing regular expressions
* @param {string} text The string being counted.
*
* @return {string} The manipulated text.
*/
export default function stripConnectors(settings: import("./index").WPWordCountSettings, text: string): string;
//# sourceMappingURL=stripConnectors.d.ts.map