Ruby - Regular Expressions
How can you use
scan to extract all words that do NOT contain the letter 'e' from a string?scan to extract all words that do NOT contain the letter 'e' from a string?/\b[^e\W]+\b/i matches words without 'e' ignoring case.[^e\W] means any character except 'e' or non-word chars; + means one or more.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions