title: How do i check if something contains XY, but it can also be XZY?
body: <p>Here is the code</p>
  <pre><code>    Console.WriteLine(&quot;Hello!&quot;);
      string greeting = Console.ReadLine();
      if (greeting.ToLower().Contains(&quot;hello how are you&quot;)) ;
      {
          Console.WriteLine(&quot;I am good&quot;);
      }
  </code></pre>
  <p>This code has a problem, if the user says something like <code>Hello jfjf how fjjffj are you</code> the program would still reply to him. What i need is <code>greeting</code> has to be <code>Hello</code>, then X amount of any string (where each string would be split by a space) , <code>how are you</code>, so something like <code>Hello thomas anderson how are you</code> would work but something like <code>Hello 8grrgh how jrjr are me you</code> would not work</p>