A
A
Asikov Artur2020-02-14 17:40:53
Regular Expressions
Asikov Artur, 2020-02-14 17:40:53

What regular expression can be used to select letters that stand alone, and not in a word?

There are several substances in one line
MnCl2, NaCl, Cl2, Cl2O
Which regular expression can only select Cl2 without affecting MnCl2 or Cl2O ?

Answer the question

In order to leave comments, you need to log in

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

In sense, "letters separately"?
Perhaps you meant the designation of molecules consisting of atoms of only one substance.
\b[A-Z][a-z]?\d?\b

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question