Show Code
[Source]
Reads text or code file and colors reserved, class words, comments and text
Changes greater than and smaller than to html entities
Uses Visual Studio's default colors
reserved - blue
class - cyan
comment - green
text - red
Uses regex to find correct match from each line
text - \"[^\"]*\"
comment - //.*
reserved & class - [ |\t|\\.|\\(|,|>|<|!]{0}[ |\t|$||\r|\\.|\\[|\\>|\\<|;|\\(]
htmlbegin - <[a-zA-Z0-9]*.*?>
htmlend - [a-zA-Z0-9]*>
User can insert any url address with code file
Default.aspx?url=[url here]