N
N
Noir2019-08-19 12:32:30
Regular Expressions
Noir, 2019-08-19 12:32:30

How to write a regular expression for a number in brackets?

Example:

[1]asdasd
[1.2.3]asdasd
[12]asdasd
[13][mdm]asdasdas
[1,2]asdasd

need to get
1
1
12
13
1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2019-08-19
@PolarBearGG

Good afternoon.
Try starting with this .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question