Page 1 of 1
Regexing
Posted: Thu Apr 28, 2011 11:07 am
by smashapps
For my website designer application it colors text but it will only color words that are seperated.
ie <html></html> will stay like that but <html> </html> is colored
Thats why I need regexing in my application. Its used more in c# applications which is why its harder to find for Visual basic and I haven't found any good tutorials on it.
Any help please?
Re: Regexing
Posted: Thu Apr 28, 2011 1:04 pm
by Jg99
I've never heard of that... Try searching for a vb tut on google.
Re: Regexing
Posted: Thu Apr 28, 2011 2:01 pm
by smashapps
I have, and its similar to Syntax Highlighting just alot more annoying lol
Re: Regexing
Posted: Thu Apr 28, 2011 2:46 pm
by Codex
Re: Regexing
Posted: Fri Apr 29, 2011 2:23 am
by smashapps
I'm a member on that site, I've seen that tutorial too I will read it through again and see if its any help
Re: Regexing
Posted: Fri Apr 29, 2011 2:25 am
by Zulf
Regexing, you mean splitting the text?
Re: Regexing
Posted: Fri Apr 29, 2011 3:17 am
by smashapps
Well I want is I have syntax highlighting in my application but words will only be colored if there is a space and im having some real trouble fixing it this is why I want to use Regexing as well because it doesn't matter if text is split or not its really not going well
Re: Regexing
Posted: Fri May 27, 2011 6:33 pm
by rocky4126
Code: Select allif regex.ismatch(me.text, "/<html> /") or regex.ismatch(me.text, "/ <\/html>/") then
'code to change colour
EndIf
That should help you a bit. I'm not sure if \/ will parse correctly.