Linking with regular expressions

From: Date: Sat, 23 Dec 2000 14:54:13 +0000
Subject: Linking with regular expressions
Groups: php.general 
Request: Send a blank email to php-general+get-31676@lists.php.net to get a copy of this message
After trying again and again it seems I just don't understand regular expressions as well as I wish to, so maybe someone more experienced could help out. I want to convert every "[some text here|link]" (without quotes) into <a href="http://www.mysite.com/mypage.php?link">some text here</a> Maybe someone can help me with writing a pattern for this? Thank you, Anton.

« previous php.general (#31676) next »