10 Best JavaScript Regular Expression Libraries

List hand-picked by Openbase Experts
Learn More

er

emoji-regex

A regular expression to match all Emoji-only symbols as per the Unicode Standard.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
2
Top Feedback
1Great Documentation
1Easy to Use
GitHub Stars
1K
Weekly Downloads
48M
Last Commit
4mos ago
sr

safe-regex

Detect possibly catastrophic, exponential-time regular expressions

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
90
Weekly Downloads
16M
Last Commit
1yr ago
xre

xregexp

Extended JavaScript regular expressions

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
3K
Weekly Downloads
7M
Last Commit
1mo ago
ir

is-regexp

Check if a value is a regular expression

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
21
Weekly Downloads
8M
Last Commit
3mos ago
ret

ret

Tokenizes a string that represents a regular expression.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
75
Weekly Downloads
16M
Last Commit
1yr ago
tr

to-regex

Generate a regex from a string or array of strings.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
51
Weekly Downloads
15M
Last Commit
4yrs ago
reg

regexpu

A source code transpiler that enables the use of ES2015 Unicode regular expressions in ES5.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
209
Weekly Downloads
77K
Last Commit
4mos ago
ir

issue-regex

Regular expression for matching issue references

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
39
Weekly Downloads
89K
Last Commit
5mos ago

regex-email

Regular expression for email

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
42
Weekly Downloads
316
Last Commit
5yrs ago
isj

isjs

Check your data against regular expressions or known keywords.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
278
Weekly Downloads
58
Last Commit
7yrs ago