Title |
Test
Find
Pattern Title
|
Expression |
\[link="(?<link>((.|\n)*?))"\](?<text>((.|\n)*?))\[\/link\] |
Description |
This can be used in conjunction with the replace method to provide pseudo-code support without having to enable HTML. The replacement string (in ASP.NET, use RegExp.Replace(SourceString, RegularExpressionPattern, ReplacementString) is <a href="${link}">${text}</a>. |
Matches |
[link="http://www.yahoo.com"]Yahoo[/link] |
Non-Matches |
[link]http://www.yahoo.com[/link] | [link=http://www.yahoo.com]Yahoo[/link] |
Author |
Rating:
Not yet rated.
Ryan S
|
Source |
|
Your Rating |
|
Title: KOOL! Why don't you reverse it too?
Name: xMANIGHTx
Date: 5/22/2003 4:00:39 PM
Comment:
It would be nice to have the "reverse" function. Something that will change back data retrieved from the DB, from <a href="link">Something here</a> to your [link="link"]Something here[/link] format.