Posted on: 12/8/2014 9:24:53 PM | Views : 508

Hey All,
This is always something that confuses me, I've tried reading different tutorials and understanding the patterns for regex and it just doesn't seem to sink in.
I have this pattern(I am converting creole to html using VB)
nStr = Regex.Replace(nStr, "=====([^=]*)=====", "<h5>$1</h5>")nStr = Regex.Replace(nStr, "====([^=]*)====", "<h4>$1</h4>")nStr = Regex.Replace(nStr, "===([^=]*)===", "<h3>$1</h3>")nStr = Regex.Replace(nStr, "==([^=]*)==", "<h2>$1</h2>")nStr = Regex.Replace(nStr, "=([^=]*)=", "<h1>$1</h1>") This works perfect, changes the creole wiki markup for headers to display on an asp.net page as html <h?></h?>
So next I want to replace this creole markup @@successbox:Add some text in here.@@ ...

Go to the complete details ...