Skip to content

@technobuddha > library > RegExp > Constants

Constant: trimEquivalent

ts
const trimEquivalent: RegExp;

Defined in: regexp.ts:244

Regular expression that matches any whitespace character, including standard spaces, non-breaking spaces (\u00A0), and zero-width no-break spaces (\uFEFF). Useful for trimming or identifying whitespace-equivalent characters in strings.