Answer the question
In order to leave comments, you need to log in
How should you write the regular expression for height and what grade is the person in?
Misha is in the 3rd grade, his height is 150 cm.
You need to write down a regular expression. My attempts were successful with '[0-9]+cm'.
Answer the question
In order to leave comments, you need to log in
One or more digits (remember)
Space
"class"
Many non-digits
One or more digits (remember)
Space
"cm"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question