|
-
Jun 24th, 2006, 03:01 PM
#1
Thread Starter
Addicted Member
[RESOLVED] regular expressions !?
I’m using Microsoft Visual Web Developer 2005 Express Edition (fantastic program defiantly worth using over web matrix) and I want to no where can I find the class that creates the regular expressions valuator that you can add to a web page to enter a regular expressions into and set the target for a text box that you want to use the regular expression for when validating it's contents? The reason I want to no this is i want to see by looking at the code how it works, how it can take any regular expression and understand how to use it. I am hoping to make a flash version of it but will need to look at how the code for it works to create a flash equivalent

I will wait for death with a smile and a big stick
-
Jun 25th, 2006, 03:46 AM
#2
Re: regular expressions !?
Does VWD have a toolbox? Look in that area for the Regular Expression validator, drag it over to your form, and assign its ControlToValidate.
-
Jun 26th, 2006, 12:34 PM
#3
Thread Starter
Addicted Member
Re: regular expressions !?
I could not find the code that creates the object or governs how it works but i found another way of doing what I wanted.
Just so you no Microsoft Visual Web Developer 2005 Express Edition is free and if you do anything in asp.net then this is a program you just have to use, its got code prompting like visual basics but is for asp.net and is so truly easy to use and work with. Defiantly give it a try...you thank me after that you did....what do most asp developers use to do their coding in ??? I assumed they just used web matrix or maybe dreamweaver ?
If you have not already tried this then do as it is simply amazing and defiantly worth while using : http://msdn.microsoft.com/vstudio/express/vwd/download/
Cheers for the help

I will wait for death with a smile and a big stick
-
Jun 26th, 2006, 12:41 PM
#4
Re: [RESOLVED] regular expressions !?
http://keithratliff.com/transfer/regexwin.zip
I wrote a small app I use to test my regular expressions. Download, compile, enjoy.
As for learning Regular Expressions, I urge you to get the VisiBone Regular Expressions card from them...
Most of the card is reproduced on their Web site, here:
http://www.visibone.com/regular-expressions/
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
Jun 26th, 2006, 12:49 PM
#5
Thread Starter
Addicted Member
Re: [RESOLVED] regular expressions !?
Thanks for that...if your interested in testing regular expression’s to use and test, you can find the best site ever full or regular expression methods to use and test here: http://regexlib.com/

I will wait for death with a smile and a big stick
-
Jun 26th, 2006, 12:51 PM
#6
Re: [RESOLVED] regular expressions !?
Actually, I tend to be pretty good at writing them myself. Going online to see if someone already wrote something I need would be a waste of time as I usually can write them faster myself than the time it takes to Google it =)
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
Jun 26th, 2006, 01:09 PM
#7
Thread Starter
Addicted Member
Re: [RESOLVED] regular expressions !?
Kewl...bet that’s handy, on the most part I can do very basic ones lol but the site I mentioned before has some very complex any handy ones like dealing with date validation that takes into account leap years, valid day of the month ensuring that the month has i.e. 31 days in it if the date value is 31 for the day ...stuff like that I find handy

I will wait for death with a smile and a big stick
-
Jun 26th, 2006, 01:12 PM
#8
Re: [RESOLVED] regular expressions !?
Yep =)
Another thing about writing them yourself -- you tend to understand why they work, which means you can also usually determine why they don't, when they don't. (But that never happens to me of course, oh no, never...)
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
Jun 27th, 2006, 04:32 AM
#9
Thread Starter
Addicted Member
Re: [RESOLVED] regular expressions !?
lol I'll believe you ...When it comes to writing regular expressions is it a universal code that is always the same for all code languages?

I will wait for death with a smile and a big stick
-
Jun 28th, 2006, 12:04 PM
#10
Re: [RESOLVED] regular expressions !?
Usually yes, but then Microsoft and Macromedia tend to do their own thing....
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
Jun 28th, 2006, 12:11 PM
#11
Thread Starter
Addicted Member
Re: [RESOLVED] regular expressions !?
Very true

I will wait for death with a smile and a big stick
-
Jun 29th, 2006, 04:06 PM
#12
Member
Re: [RESOLVED] regular expressions !?
Can you guys offer any suggestions for this thread
http://www.vbforums.com/showthread.p...23#post2528923
A lot of string manupulation, I'm using webrowsercontrol to get text and I'm now consdering regex to parse it.
-
Jul 2nd, 2006, 02:29 PM
#13
Thread Starter
Addicted Member
Re: [RESOLVED] regular expressions !?
Seams like you got enough help on that thread, is their something in particular you are trying to achieve ?

I will wait for death with a smile and a big stick
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|