V
V
VladMokrousov2020-07-07 07:43:11
JavaScript
VladMokrousov, 2020-07-07 07:43:11

How to find numbers in brackets?

How to write a regular expression that finds any number (integer or fraction) in brackets? Example strings are invert(1), invert(0.6), blur(2.3px).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2020-07-07
@VladMokrousov

\(([0-9.]+).*?\)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question