I need to search a file for any string that contains the sub-strings "ME" and "SW", in this order, with any character (even non-alphanumerical), before, between and after them.
So far this line works for me:
*select-string -path "..path" -pattern ME*
But, when I try the regex [.]*ME[.]*SW[.]* it returns null.
Also, when using [.]*ME[.]* it works.
[.]will match a literal., remove the brackets in order for it to match any character