Word vs. RegExp
-
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've used PsPad. Didn't see a way to search multiline and I didn't find a RegExp section in their Settings.
-
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
Great, so which 1% do you recommend?
-
I've used PsPad. Didn't see a way to search multiline and I didn't find a RegExp section in their Settings.
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."
-
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? :)
Try Expresso[^] Free and awesome.
Semper Fi http://www.hq4thmarinescomm.com[^]
www.jaxcoder.com[^] WinHeist - Windows Electronic Inventory SysTem -
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."
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.
-
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? :)
Like Mike said Expresso rocks.
Curvature of the Mind now with 3D
-
Great, so which 1% do you recommend?
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
-
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.
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
-
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
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. ;)
-
My wallet and I disagree on many levels.
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.
-
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.
-
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.
-
I love it too. Does its job perfectly fine.
Regards Senthil _____________________________ My Home Page |My Blog | My Articles | My Flickr | WinMacro
-
Why is it that Word will allow you to search for carriage returns (paragraph marks) between text, but regular expressions won't? Am I missing something?
I just tried it with my RegexTester[^] and it worked.
This\r\nis what\r\nI need to\r\nfind.
with Singleline checked.