I am trying to ignore the order of the words and searching for the line in one file which has below pattern for example : My Name is ABC.
Now I want to change the sequence of words in the same sentence as below : ABC is my name.
Can someone please help me on how should I find this line in linux, if the order/sequence of the words keeps changing ?
Thanks in advance.