Results 1 to 10 of 10

Thread: Regular Expressions

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2009
    Posts
    358

    Regular Expressions

    What are some examples of some advanced regular expressions?
    Sorry if my posts are misleading or sometimes rude, I'm just trying to get information so try to help me out.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Regular Expressions

    That's not really a VB.NET question. If you want to learn how to build your own regular expressions then there are plenty of places on the web that will show you how. The syntax is the same no matter the language used to build the application.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,423

    Re: Regular Expressions

    Quote Originally Posted by jmcilhinney View Post
    The syntax is the same no matter the language used to build the application.
    there are some variations

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Regular Expressions

    Quote Originally Posted by .paul. View Post
    there are some variations
    I haven't encountered any, but then I don't use them very much. I've never seen any .NET-specific reference either, although that doesn't mean there isn't one. I would think that you'd be able to use any reference to get going and then deal with any platform-specific details if and when they arose.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5
    eXtreme Programmer .paul.'s Avatar
    Join Date
    May 2007
    Location
    Chelmsford UK
    Posts
    26,423

    Re: Regular Expressions


  6. #6
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Regular Expressions

    Thread moved from "VB.Net" forum to "General Developer" forum

  7. #7
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: Regular Expressions

    What would you call advanced? For instance x:Light highlights any XML based language without knowing one keyword using regex. The source is in the codebank, feel free to take a look at it.
    Last edited by DeanMc; Jun 9th, 2009 at 11:07 AM. Reason: Fixed Link

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2009
    Posts
    358

    Re: Regular Expressions

    Quote Originally Posted by jmcilhinney View Post
    That's not really a VB.NET question. If you want to learn how to build your own regular expressions then there are plenty of places on the web that will show you how. The syntax is the same no matter the language used to build the application.
    Quote Originally Posted by .paul. View Post
    there are some variations
    I'm already pretty good with Regular Expressions, I just want to know some really long ones that I can use as examples to do advanced things.
    Sorry if my posts are misleading or sometimes rude, I'm just trying to get information so try to help me out.

  9. #9
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: Regular Expressions

    .... And I have given you a fully functional application plus a link to the source.

  10. #10
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Regular Expressions

    Here's a classic: validating an email address against RFC 822.

    (You did ask...)

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