A
A
Asikov Artur2020-02-15 00:23:56
Regular Expressions
Asikov Artur, 2020-02-15 00:23:56

What regular expression can be used to find numbers in front of words?

Chemical reaction

2KMnO4 + 16HCl = 2KCl + 2MnCl2 + 5Cl2 + 8H2O

How to find all numbers before words?
2 KMnO4 + 16 HCl = 2 KCl + 2 MnCl2 + 5 Cl2 + 8 H2O

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2020-02-15
@Artur937

\b\d+(?=[A-Z])

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question