Skip to main content

TextUtils

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

staticreadonlyrubyRegex

rubyRegex: RegExp = ...

Methods

staticremoveRuby

  • removeRuby(text: string): string
  • Parameters

    • text: string

    Returns string

staticreplaceRuby

  • replaceRuby(text: string, replacer: (match: string, base: string, ruby: string) => string): string
  • Parameters

    • text: string
    • replacer: (match: string, base: string, ruby: string) => string

    Returns string