Hi Alana, be careful when dealing with regex :)
There is this quote that said
Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.
In this way, I suggest you to use rubular.com/ in order to check your regexes :)
Hi V,
Thank you for your comment! I took your advice and was able to check that all of the regexes worked on the randomly sampled strings. strings = [ "here 12 plus 25", "puzzle number 04 ", " " ] string = strings.sample
strings = [ "here 12 plus 25", "puzzle number 04 ", " " ] string = strings.sample
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Alana, be careful when dealing with regex :)
There is this quote that said
In this way, I suggest you to use rubular.com/ in order to check your regexes :)
Hi V,
Thank you for your comment! I took your advice and was able to check that all of the regexes worked on the randomly sampled strings.
strings = ["here 12 plus 25",
"puzzle number 04 ",
" "
]
string = strings.sample