regex match one of two strings code example
Example 1: regex find lines containing two strings
^(?=.*\bstring1\b)(?=.*\bstring2\b).*$
Example 2: regex match two characters
echo %H#E%L#L%O! | sed 's/[#%]//g' #replaces every appearance of any of
two characters # and %