title: How to check if a string contains hashtags in dart?
body: <p>guys,</p>
  
  <p>I am developing a social media app and I want people to see hashtags and for that, I want to check if a string contains any hashtags like : #I_am_nice.</p>
  
  <p>Notice that I want to get all the hashtag not only the first word after hashtag mark(#).</p>
  
  <p>My wants :</p>
  
  <pre class="lang-dart prettyprint-override"><code>if (string.contains(Hashtag)) {
    print(hashtag);//Hashtag String
   } else {
    //No Hashtags
   }
  
  
  </code></pre>
  
  <p>thanks,</p>