Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Word vs. RegExp

Word vs. RegExp

Scheduled Pinned Locked Moved The Lounge
visual-studioquestion
33 Posts 13 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Bassam Abdul Baki

    My bad. I never meant programmatically. I was talking about the free RegExp tools out there that I've seen. None of them allow me to search for multiline text.

    S Offline
    S Offline
    Slacker007
    wrote on last edited by
    #12

    Bassam Abdul-Baki wrote:

    I was talking about the free

    That's your first problem. IMHO, "most" FREE stuff is crap and if it isn't crap then it is very limited in what it does. I don't have time for many limitations...do you? :)

    B 1 Reply Last reply
    0
    • S Slacker007

      Pay the nominal license fee and get RegEx Buddy[^]. I use it all the time at home and at work. HTH

      B Offline
      B Offline
      Bassam Abdul Baki
      wrote on last edited by
      #13

      Slacker007 wrote:

      Pay

      What's that?

      1 Reply Last reply
      0
      • S Slacker007

        Bassam Abdul-Baki wrote:

        I was talking about the free

        That's your first problem. IMHO, "most" FREE stuff is crap and if it isn't crap then it is very limited in what it does. I don't have time for many limitations...do you? :)

        B Offline
        B Offline
        Bassam Abdul Baki
        wrote on last edited by
        #14

        My wallet and I disagree on many levels.

        S H 2 Replies Last reply
        0
        • B Bassam Abdul Baki

          My bad. I never meant programmatically. I was talking about the free RegExp tools out there that I've seen. None of them allow me to search for multiline text.

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #15

          Depending on what kind of regex tool you are looking for, have a look at these: Expresso[^] - helps you design, examine and test regexes. PsPad[^] - programmers editor which includes full Regex searching if you turn it on.

          Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          B 1 Reply Last reply
          0
          • B Bassam Abdul Baki

            My wallet and I disagree on many levels.

            S Offline
            S Offline
            Slacker007
            wrote on last edited by
            #16

            You can afford Microsoft Word and other more expensive software that you have at your disposal (I'm sure) but you can't shell out the 40 bucks for RegEx Buddy? Well, I can't help you there; that's your call. Just so you know, I'm not rich either but I'm not going to let 40 measly dollars stop me from getting the job done. Good luck to you. ;) [edit] You could try Expresso mentioned by OG below. It's free and it does search multiple lines but I don't know if it actually searches files on your computer based on your search criteria. I have used it before but it is not as powerful as RegEx Buddy. Again, my personal opinion.

            B D 2 Replies Last reply
            0
            • B Bassam Abdul Baki

              My bad. I never meant programmatically. I was talking about the free RegExp tools out there that I've seen. None of them allow me to search for multiline text.

              D Offline
              D Offline
              Dan Neely
              wrote on last edited by
              #17

              That's because the regex library used by ~99% of windows applications is a severely limited pile of garbage.

              3x12=36 2x12=24 1x12=12 0x12=18

              B 1 Reply Last reply
              0
              • S Slacker007

                You can afford Microsoft Word and other more expensive software that you have at your disposal (I'm sure) but you can't shell out the 40 bucks for RegEx Buddy? Well, I can't help you there; that's your call. Just so you know, I'm not rich either but I'm not going to let 40 measly dollars stop me from getting the job done. Good luck to you. ;) [edit] You could try Expresso mentioned by OG below. It's free and it does search multiple lines but I don't know if it actually searches files on your computer based on your search criteria. I have used it before but it is not as powerful as RegEx Buddy. Again, my personal opinion.

                B Offline
                B Offline
                Bassam Abdul Baki
                wrote on last edited by
                #18

                I can afford forty bucks. However, if my company won't pay for it, I'm not going to buy it. It's the principle. :)

                S 1 Reply Last reply
                0
                • B Bassam Abdul Baki

                  I can afford forty bucks. However, if my company won't pay for it, I'm not going to buy it. It's the principle. :)

                  S Offline
                  S Offline
                  Slacker007
                  wrote on last edited by
                  #19

                  My company wouldn't buy it for me either so I had to. I hear you about the principle. :)

                  1 Reply Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    Depending on what kind of regex tool you are looking for, have a look at these: Expresso[^] - helps you design, examine and test regexes. PsPad[^] - programmers editor which includes full Regex searching if you turn it on.

                    Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

                    B Offline
                    B Offline
                    Bassam Abdul Baki
                    wrote on last edited by
                    #20

                    I've used PsPad. Didn't see a way to search multiline and I didn't find a RegExp section in their Settings.

                    OriginalGriffO 1 Reply Last reply
                    0
                    • D Dan Neely

                      That's because the regex library used by ~99% of windows applications is a severely limited pile of garbage.

                      3x12=36 2x12=24 1x12=12 0x12=18

                      B Offline
                      B Offline
                      Bassam Abdul Baki
                      wrote on last edited by
                      #21

                      Great, so which 1% do you recommend?

                      D 1 Reply Last reply
                      0
                      • B Bassam Abdul Baki

                        I've used PsPad. Didn't see a way to search multiline and I didn't find a RegExp section in their Settings.

                        OriginalGriffO Offline
                        OriginalGriffO Offline
                        OriginalGriff
                        wrote on last edited by
                        #22

                        My mistake - multiline doesn't work in PsPad - I thought it did. Regex is enabled in the Search/Replace box by the checkbox labelled "Regular Expressions"

                        Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

                        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                        B 1 Reply Last reply
                        0
                        • B Bassam Abdul Baki

                          Yeah, but most of these tools support the RegExp syntax, but not multilines. All of the free tools I've seen are great in almost every way, but this. Maybe I should start paying for stuff? :)

                          Mike HankeyM Offline
                          Mike HankeyM Offline
                          Mike Hankey
                          wrote on last edited by
                          #23

                          Try Expresso[^] Free and awesome.

                          Semper Fi http://www.hq4thmarinescomm.com[^]
                          www.jaxcoder.com[^] WinHeist - Windows Electronic Inventory SysTem

                          1 Reply Last reply
                          0
                          • OriginalGriffO OriginalGriff

                            My mistake - multiline doesn't work in PsPad - I thought it did. Regex is enabled in the Search/Replace box by the checkbox labelled "Regular Expressions"

                            Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

                            B Offline
                            B Offline
                            Bassam Abdul Baki
                            wrote on last edited by
                            #24

                            Yeah, I saw that. But I thought since I wasn't seeing it, there must be another setting somewhere. Good to know I'm not crazy.

                            1 Reply Last reply
                            0
                            • B Bassam Abdul Baki

                              Great, so which 1% do you recommend?

                              D Offline
                              D Offline
                              Dan Neely
                              wrote on last edited by
                              #25

                              I don't. My preferred editor is in the 99%. A few years ago after testing about 30-40 windows text editors I found on that had a reasonably sane UI (ie not emacs and not vim), and a fully functional regex engine; however the frequency with which that mattered (3x12=36 2x12=24 1x12=12 0x12=18

                              1 Reply Last reply
                              0
                              • B Bassam Abdul Baki

                                Yeah, but most of these tools support the RegExp syntax, but not multilines. All of the free tools I've seen are great in almost every way, but this. Maybe I should start paying for stuff? :)

                                A Offline
                                A Offline
                                Andy Brummer
                                wrote on last edited by
                                #26

                                Like Mike said Expresso rocks.

                                Curvature of the Mind now with 3D

                                1 Reply Last reply
                                0
                                • S Slacker007

                                  You can afford Microsoft Word and other more expensive software that you have at your disposal (I'm sure) but you can't shell out the 40 bucks for RegEx Buddy? Well, I can't help you there; that's your call. Just so you know, I'm not rich either but I'm not going to let 40 measly dollars stop me from getting the job done. Good luck to you. ;) [edit] You could try Expresso mentioned by OG below. It's free and it does search multiple lines but I don't know if it actually searches files on your computer based on your search criteria. I have used it before but it is not as powerful as RegEx Buddy. Again, my personal opinion.

                                  D Offline
                                  D Offline
                                  Dan Neely
                                  wrote on last edited by
                                  #27

                                  Slacker007 wrote:

                                  You can afford Microsoft Word and other more expensive software that you have at your disposal (I'm sure) but you can't shell out the 40 bucks for RegEx Buddy? Well, I can't help you there; that's your call.

                                  My copies of office are: 0) paid for by my employer (free). 1) heavily subsidized via my employer's volume license (MS home use program, IIRC $10) Both are significantly cheaper than RegEx Buddy and would see far more use as well. They're not comparable.

                                  3x12=36 2x12=24 1x12=12 0x12=18

                                  S 1 Reply Last reply
                                  0
                                  • D Dan Neely

                                    Slacker007 wrote:

                                    You can afford Microsoft Word and other more expensive software that you have at your disposal (I'm sure) but you can't shell out the 40 bucks for RegEx Buddy? Well, I can't help you there; that's your call.

                                    My copies of office are: 0) paid for by my employer (free). 1) heavily subsidized via my employer's volume license (MS home use program, IIRC $10) Both are significantly cheaper than RegEx Buddy and would see far more use as well. They're not comparable.

                                    3x12=36 2x12=24 1x12=12 0x12=18

                                    S Offline
                                    S Offline
                                    Slacker007
                                    wrote on last edited by
                                    #28

                                    I guess you are right. Maybe it was a bad idea to recommend the product to him. I'm sure his situation is just like yours. ;)

                                    1 Reply Last reply
                                    0
                                    • B Bassam Abdul Baki

                                      My wallet and I disagree on many levels.

                                      H Offline
                                      H Offline
                                      Henry Minute
                                      wrote on last edited by
                                      #29

                                      Bassam Abdul-Baki wrote:

                                      My wallet and I disagree on many levels.

                                      In that case try Expresso[^] I just tried your test text and it works fine. Multiline and all. :)

                                      Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.

                                      1 Reply Last reply
                                      0
                                      • B Bassam Abdul Baki

                                        My bad. I never meant programmatically. I was talking about the free RegExp tools out there that I've seen. None of them allow me to search for multiline text.

                                        L Offline
                                        L Offline
                                        Lost User
                                        wrote on last edited by
                                        #30

                                        Most won't accept the escape-characters - a lot of regex-utils will interpret "\t" as two ASCII characters and not as an encoded tab-character. The wonders of RAD-development, it works in 95% of the cases :)

                                        I are Troll :suss:

                                        1 Reply Last reply
                                        0
                                        • B Bassam Abdul Baki

                                          My bad. I never meant programmatically. I was talking about the free RegExp tools out there that I've seen. None of them allow me to search for multiline text.

                                          C Offline
                                          C Offline
                                          Chris Maunder
                                          wrote on last edited by
                                          #31

                                          Expresso[^] I love this tool. The author, Jim Hollenhorst, is a very nice chap, too.

                                          cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                                          S 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups