Results 1 to 13 of 13

Thread: [RESOLVED] regular expressions !?

  1. #1

    Thread Starter
    Addicted Member rabid lemming's Avatar
    Join Date
    Feb 2005
    Posts
    210

    Resolved [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

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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.

  3. #3

    Thread Starter
    Addicted Member rabid lemming's Avatar
    Join Date
    Feb 2005
    Posts
    210

    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

  4. #4
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497

    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)

  5. #5

    Thread Starter
    Addicted Member rabid lemming's Avatar
    Join Date
    Feb 2005
    Posts
    210

    Smile 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

  6. #6
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497

    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)

  7. #7

    Thread Starter
    Addicted Member rabid lemming's Avatar
    Join Date
    Feb 2005
    Posts
    210

    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

  8. #8
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497

    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)

  9. #9

    Thread Starter
    Addicted Member rabid lemming's Avatar
    Join Date
    Feb 2005
    Posts
    210

    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

  10. #10
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497

    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)

  11. #11

    Thread Starter
    Addicted Member rabid lemming's Avatar
    Join Date
    Feb 2005
    Posts
    210

    Talking Re: [RESOLVED] regular expressions !?

    Very true

    I will wait for death with a smile and a big stick

  12. #12
    Member
    Join Date
    Jun 2006
    Posts
    41

    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.

  13. #13

    Thread Starter
    Addicted Member rabid lemming's Avatar
    Join Date
    Feb 2005
    Posts
    210

    Smile 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
  •  



Click Here to Expand Forum to Full Width