+ Reply to Thread
Results 1 to 9 of 9

Thread: Not much of a regex person? read this

  1. #1
    TcM
    TcM is offline
    Code Warrior TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM's Avatar
    Join Date
    Aug 2006
    Posts
    11,461
    Blog Entries
    6

    Not much of a regex person? read this

    Well, if like me, you find it hard to make a regex expression to do whatever you want it to do, and not whatever it wants... you might want to try this tool:
    txt2re: headache relief for programmers :: regular expression generator
    I found it a couple months ago, and I thought I'd share it for everyone else.
    You just paste a sample of what you want to filter, and then select using the colored boxes

    It will produce an array of all those, then you just select the one you want.. and hopefully arrange it a little bit lol.. because the output code is not that good, so you might want to arrange it a little bit in your actual program.

  2. #2
    Super Moderator WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther's Avatar
    Join Date
    Jul 2006
    Age
    36
    Posts
    11,665
    Blog Entries
    57

    Re: Not much of a regex person? read this

    It's interesting, but doesn't help much with the types of things I do.

    Regular expressions are worth learning, but they take a bit of effort to get the hang of them.
    CodeCall Blog | CodeCall Wiki | Shareware
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  3. #3
    Administrator Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan's Avatar
    Join Date
    Nov 2005
    Location
    Hendersonville, NC
    Posts
    24,556
    Blog Entries
    97

    Re: Not much of a regex person? read this

    Very interesting, might come in handy. Thanks for the post!

  4. #4
    TcM
    TcM is offline
    Code Warrior TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM's Avatar
    Join Date
    Aug 2006
    Posts
    11,461
    Blog Entries
    6

    Re: Not much of a regex person? read this

    No problem.
    @Winged: Well, this is good to help newbies with regex (or lazy people that are too lazy to learn regex)... so do you have any resource where we can actually learn it? I'd be willing to take a look at it.

  5. #5
    Administrator Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan's Avatar
    Join Date
    Nov 2005
    Location
    Hendersonville, NC
    Posts
    24,556
    Blog Entries
    97

    Re: Not much of a regex person? read this


  6. #6
    Super Moderator WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther's Avatar
    Join Date
    Jul 2006
    Age
    36
    Posts
    11,665
    Blog Entries
    57

    Re: Not much of a regex person? read this

    I haven't found a good tutorial. The book "Mastering Regular Expressions" by O'Reilly press is excellent, however.
    CodeCall Blog | CodeCall Wiki | Shareware
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  7. #7
    TcM
    TcM is offline
    Code Warrior TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM's Avatar
    Join Date
    Aug 2006
    Posts
    11,461
    Blog Entries
    6

    Re: Not much of a regex person? read this

    Thanks jordan, will take a look

  8. #8
    Code Warrior BlaineSch is a glorious beacon of light BlaineSch is a glorious beacon of light BlaineSch is a glorious beacon of light BlaineSch is a glorious beacon of light BlaineSch is a glorious beacon of light BlaineSch is a glorious beacon of light BlaineSch's Avatar
    Join Date
    Apr 2009
    Location
    Trapped in my own little world.
    Age
    19
    Posts
    2,223
    Blog Entries
    8

    Re: Not much of a regex person? read this

    Quote Originally Posted by WingedPanther View Post
    I haven't found a good tutorial. The book "Mastering Regular Expressions" by O'Reilly press is excellent, however.
    800 pages? holy crap...

  9. #9
    Super Moderator WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther's Avatar
    Join Date
    Jul 2006
    Age
    36
    Posts
    11,665
    Blog Entries
    57

    Re: Not much of a regex person? read this

    Regular Expressions Pocket Reference is 116 pages, but they're 1/4 size pages
    CodeCall Blog | CodeCall Wiki | Shareware
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Read a Floating-Point Value from the User
    By dcs in forum C Tutorials
    Replies: 2
    Last Post: 09-27-2008, 05:08 PM
  2. read ID3 tag information to files.
    By holyct in forum Java Help
    Replies: 1
    Last Post: 09-25-2008, 02:58 PM
  3. C/C++ FAQ: Read this before you post!
    By v0id in forum C and C++
    Replies: 7
    Last Post: 08-05-2008, 12:08 PM
  4. How to read images with argc & argv?
    By tommy_chai in forum C and C++
    Replies: 4
    Last Post: 10-29-2007, 09:32 AM
  5. Replies: 4
    Last Post: 01-22-2007, 11:03 AM

Bookmarks

Bookmarks

     
        Algorithms and Data Structures

        Java tutorials

        Algorithms Forum

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts