Z
Z
Zubastik_12018-04-07 10:18:00
Regular Expressions
Zubastik_1, 2018-04-07 10:18:00

How to list multiple numbers in a regular expression?

For example, I need to list 2 numbers - 4, 24. How to do this in a regular expression. For example, [4|24]this doesn't work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanovskiy, 2018-04-07
@Zubastik_1

Like this
(4|24)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question