I'm trying to remove all Wiki markup from some text. I want to process the text but all the markup is messing it up. Do you know how to remove all the markup?
If regex isn't viable, I am using C#.
Example text: http://regexr.com/39fnb
Edit: I've come up with the following regex: ([[)|(]])|(Category:.)|({{.}})|(=+.+=)|([.*?])
It works at parsing some stuff, but not everything. For example, it can't parse the lines starting with | that have code. I tried adding something that could do that, but it didn't work.