How can i add two preg_replace together?
<p>How would i add both of these preg_replace together? I am lost on how to do it.</p>

<pre><code>&lt;?= preg_replace('/@(\w+)/', '&lt;a href="https://www.twitter.com/$1"&gt;@$1&lt;/a&gt;', stripslashes($row['tweet_text']))?&gt;
&lt;?= preg_replace('/#(\w+)/', '&lt;a href="https://twitter.com/#!/search/$#$1"&gt;#$1&lt;/a&gt;', stripslashes($row['tweet_text']))?&gt;
</code></pre>

<p>and it would do both these things for </p>

<pre><code>stripslashes($row['tweet_text']
</code></pre>
