Quote:
Originally Posted by Digital Jedi
|
Yes, I am familiar with Regular Expressions. I am having difficulties identifying how this mod assigns variables that were matched in my regular expression. For example:
Regular expression field:
Code:
[http://]*www\.example\.com[/mediafolder]{0,1}/album\.php\?albumid=([0-9]+)
Replacement field inserts albumid as $p1:
Code:
<a href="http://www.example.com/mediafolder/album.php?albumid=$p1"><img border="0" src="images/photoalbum.png" /></a>
Then I pull additional info with Embedding Regexp field:
Code:
<span class="testclass">(.*?)</span>
Does Embedding Regexp field assign the match in parenthesis to $p2 that I can use at
the Replacement field field like this?
Code:
$p2<br /><a href="http://www.example.com/mediafolder/album.php?albumid=$p1"><img border="0" src="images/photoalbum.png" /></a>