D
D
Dmitry2022-04-13 14:47:45
Regular Expressions
Dmitry, 2022-04-13 14:47:45

How to create a regular expression that accepts any numbers and operations on them?

How to create a regular expression that accepts any numbers and operations on them ( + - * = etc.)
Or if this is not possible, then how to create a separate regular expression that accepts operations on numbers?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dollar, 2022-04-13
@Meys313

^[0-9 .+*\/=-]*$

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question