Helpers

regex.mjs

@mr_ozio/scraper-utils · v2.5.0 · Generated April 21, 2026

Target Style

Target Style

2 exports

const

REGEX_NON_NUMBERS

Target Style
export const REGEX_NON_NUMBERS = /[^0-9]/g

/**
 * Matches text inside round brackets.
 *
 * @type {RegExp}
 * @style target
 */
export const REGEX_INSIDE_ROUND_BRACKETS = /(?<=\().+?(?=\))/g

Matches all non-digit characters.

Target style API. Preferred for new code.

const

REGEX_INSIDE_ROUND_BRACKETS

Target Style
export const REGEX_INSIDE_ROUND_BRACKETS = /(?<=\().+?(?=\))/g

Matches text inside round brackets.

Target style API. Preferred for new code.

Legacy Style

Legacy Style

0 exports

No legacy exports in this module.