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 .

User Ali Ozkara
by
7.9k points

1 Answer

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

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