Regexing

Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
8 posts Page 1 of 1
Contributors
User avatar
smashapps
Coding Guru
Coding Guru
Posts: 961
Joined: Tue Apr 05, 2011 8:41 am

Regexing
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?
My name is Tom | Visit my blog where I post new content every day! Tom's Daily Blog | MineCraft is awesome!
User avatar
Jg99
VIP - Site Partner
VIP - Site Partner
Posts: 453
Joined: Sun Mar 20, 2011 5:04 am

Re: Regexing
Jg99
I've never heard of that... Try searching for a vb tut on google.
http://www.sctechusa.com SilverCloud Website
User avatar
smashapps
Coding Guru
Coding Guru
Posts: 961
Joined: Tue Apr 05, 2011 8:41 am

Re: Regexing
smashapps
I have, and its similar to Syntax Highlighting just alot more annoying lol
My name is Tom | Visit my blog where I post new content every day! Tom's Daily Blog | MineCraft is awesome!
User avatar
Codex
Coding God
Coding God
Posts: 2028
Joined: Wed Mar 31, 2010 5:50 pm

Re: Regexing
Codex
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
User avatar
smashapps
Coding Guru
Coding Guru
Posts: 961
Joined: Tue Apr 05, 2011 8:41 am

Re: Regexing
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
My name is Tom | Visit my blog where I post new content every day! Tom's Daily Blog | MineCraft is awesome!
User avatar
Zulf
Serious Programmer
Serious Programmer
Posts: 441
Joined: Fri Jun 11, 2010 7:46 am

Re: Regexing
Zulf
Regexing, you mean splitting the text?
Image
User avatar
smashapps
Coding Guru
Coding Guru
Posts: 961
Joined: Tue Apr 05, 2011 8:41 am

Re: Regexing
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
My name is Tom | Visit my blog where I post new content every day! Tom's Daily Blog | MineCraft is awesome!
User avatar
rocky4126
VIP - Donator
VIP - Donator
Posts: 258
Joined: Mon Nov 16, 2009 7:39 pm

Re: Regexing
rocky4126
Code: Select all
if 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.
Image
8 posts Page 1 of 1
Return to “Tutorial Requests”