DEV Community

Discussion on: TIL: Today I learned Regular Expressions (Regexp)

Collapse
 
prettyalana profile image
Alana Edwards • Edited

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

Image description