Skip to main content
Ben Nadel at cf.Objective() 2011 (Minneapolis, MN) with: George Murphy
Ben Nadel at cf.Objective() 2011 (Minneapolis, MN) with: George Murphy

ColdFusion Builder Extension: Regular Expression Find And Replace

Published in Comments (11)

I know that ColdFusion Builder and the Eclipse platform already have regular-expression-based find and replace support; but, coming from the HomeSite world, I know what it's like to have really usable find and replace support (oh snap! buuuuurrrn!). As such, I figured I would try to extend the built-in find and replace functionality with ColdFusion Builder's ColdFusion-based extension mechanism. Working on it last night and this morning, here is what I came up with. It only works with one file at a time (no extended find/replace yet), but the interface is much more reminiscent of HomeSite.


ColdFusion Builder Extension: Regular Expression Find And Replace Video Preview.  

There's too much code involved to show it in this blog post, so I have created a ColdFusion Builder Extension: RegEx Find And Replace project in my projects area. I already have a number of ideas that I want to add to this; but, if you have anything you'd like to see me add, please leave a comment below.

Reader Comments


Awesome stuff Ben! ColdFusion builder is going to make my favorite IDE event better! I am loving the extensions that have already come out and excited to see what talented people like yourself come up with!



Yeah, the extension stuff is exciting. I have to admit, this is the first time that I personally felt the real excitement. I played around with some other stuff, but it more just felt like "fun" things; this is the first time I truly felt like I was *extending* the platform itself - I was way pumped up.


That is *really* cool. I still haven't played around at all with CF Builder, but all of the neat little extras are certainly making me more interested in trying it out.


Thanks guys. Some more thoughts I had about adding to this:

* Baked-in "common use" regular expressions like:
-- Find all tags.
-- Find all tags with given name.
-- Find email addresses.

I don't know how useful that would be. BUT, to build on top of that idea, being able to save your regex patterns with names would be badass (so that they can be pulled up quickly later, say from a drop down or a modal window).

* Other non-regex functionality like being able to UPPER or lower case the matched pattern.

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel