UNPKG

syphonx-core

Version:

SyphonX is a template-driven solution for extracting data from HTML in a highly efficient way. It combines the power of jQuery, Regular Expressions, and Javascript into a declarative template-driven format that extracts and reshapes HTML data into JSON.

6 lines (5 loc) 442 B
export declare function createRegExp(value: unknown): RegExp | undefined; export declare function regexpExtract(text: string, regexp: RegExp | string): string | null; export declare function regexpExtractAll(text: string, regexp: RegExp | string): string[] | null; export declare function regexpReplace(text: string, regexp: RegExp, replace: string): string; export declare function regexpTest(text: string, pattern: string): boolean | null;