asked 96.5k views
1 vote
Write a regular expression that selects lines containing any of the following words: linux windows solaris macos. For this exercise you must surround your solution with double quotes .

1 Answer

0 votes
-i "linux|windows|solaris|macos"

-i is for case-insensitive.
answered
User VidasV
by
8.8k points