Replacing variables in text with random values
<p>I have a block of text that contains a variable:</p>

<pre><code>Hello my name is john #last# 
</code></pre>

<p>I have 20 different last names in a array that can be used, how can I replace #last# with a random last name from the array? Meaning how can I read between the #'s and get "last" then use that to determine which array to grab from and input a random value</p>
