I’m happy to announce that we have released RegExr 0.3b. The most significant feature additions are the ability to save your patterns locally, and to share patterns on a searchable community database of regular expressions.
RegExr is a tool for learning, editing, testing, and sharing regular expressions (RegEx or RegExp for short). It is available online at RegExr.com, and as a desktop application for Mac OSX, Windows or Linux at regexr.com/desktop. Its features include:
- real time results: shows results as you type
- code hinting: roll over your expression to see info on specific elements
- detailed results: roll over a match to see details & view group info below
- built in regex guide: double click entries to insert them into your expression
- online & desktop: regexr.com or download the desktop version for Mac, Windows, or Linux
- save your expressions: My Saved expressions are saved locally
- share and rate expressions: search Community expressions and share your own
If you encounter any bugs or have any ideas for improving RegExr, please let us know in the comments below.
Looks nice, I love the community feature.
It needs an app icon though.
Hey Grant – very cool and very handy – dig the community feature as well.
I just happened to run across an interesting site the other day, regexlib.com – and they have a huge library of user submitted regular expressions and just so happens they have a webservice as well: http://regexlib.com/WebServices.asmx
Might be interesting to tie into that at some point.
See ya!
Rob
Hey Rob – I’ve seen RegExLib, it’s a great site. I didn’t know it had a web service though. Definitely might make sense to tie into that in the next version.
Really good tool. I’ve been looking for this since EditPad (editpadpro.com). It’s a pity we don’t have these powerful searching interfaces on most GUIs π
I’ve been using RegExr often lately and I’m really happy with it. It’s the right tool for every AS3 developer who needs to experiment with regular expressions. Thanks!
Great tool, thanks for sharing.
Fantastic Regex Tool. Thank you so much!
Thanks! RegExr has been a valuable help to me several times already. Definetly part of my tool belt
Nice ! Thanks you ! A little icon, for my Dock please ? π
what was wrong with this one ?
http://ryanswanson.com/regexp
thibaud – I’m not sure I understand the question. It looks just fine. RegExr was released almost 7 months before Ryan’s tool, and has a somewhat broader feature set, though his community features look a little more developed (this is something we’ll be working on over time).
Thanks to everyone for the feedback. We’ll have a new version of the AIR app (probably w/o a new version number) with a nice new icon by Monday.
Awesome! A couple feature requests:
1. Show the match and group captured content without having to hover the mouse.
For example,
2 capturing groups:
1 (span|p) – span
2 ([^”]*) – text-decoration:underline;font:bold
etc
2. stretchable right column
Hello, Grant! This is great tool. But can me explain something, please. For example I created some RegExp and text in text area is highlighted, it’s ok. But if this match is big and end of matching is not in the text area (i.e. highlighted text not fit in text area), then highlighting not appears, so it’s not possible to see any matches (. Is it bug or feature?
This is a fantastic tool, I wish I had had it in college!
I had a long string I was testing out and it didn’t finish the results. I was wondering, is there a limit on the string length in this version, or is the length limit from the regexp standard?
Also, when doing a ^(abc)|(def)|(ghi)|….’ expression with a large number of groups, I would sometimes get something like this: “…group 29: xxx [[match]]; group 30 [NO MATCH]; ….. group 35: [[blank]] ” (where the [[ ]] represent my commentary – is this a bug error or a side-effect of a really long ORed (|ed) sequence?
Thanks for your feedback.
Grant,
Thanks so much for RegExr! I use it pretty much daily. Is there any way that in the next release, you could also include translation of regular expressions from language-to-language? Like perhaps a few lines of text at the bottom showing how the regular expression would be translated:
AS3 ^.*$
Perl: ^.*$
Java: …
etc. This would be really nice, as my main crutch is that I learned regular expressions in AS3 rather than these other languages (like perl) which are very heavily influenced by regular expressions.
– TK
G8!,
It is a very nice tool and very useful.
I have one question.
The link is
I want to get the link name. I used the pattern
history|Img|file|link|animation|audio|a|img|script)[^>]*?(?>href|src)\s*?=\s*?[\”‘](.*?)[\”‘][^>]*?
But It returns the “sam” alone.
Is there any way to escape the single quote in link.
Thanks
Sam Rajesh E
G8!,
It is a very nice tool and very useful.
I have one question.
The link is “”
I want to get the link name. I used the pattern
history|Img|file|link|animation|audio|a|img|script)[^>]*?(?>href|src)\s*?=\s*?[\”‘](.*?)[\”‘][^>]*?
But It returns the “sam” alone.
Is there any way to escape the single quote in link.
Thanks
Sam Rajesh E
RegExr will not allow two forward slashes in the editor. It’s the weirdest thing. Try entering the following pattern into the pattern text input: /[^/]?/
What happens is the first slash will disappear when entering the second or third slash. Really weird. What I’m trying to do is match text between two slashes, and this makes it kind of hard π
TK – try escaping the forward slashes “\/”
After over a year of near daily use this is still one of my top 5 favourite tools outside Eclipse! If only there were a way to mock E4X outside of Firebug too π Thanks for vetting your experiment into a serious application and sharing it with your fellow flashy regexers π
Where I can found saved regexps (without launching RegExr app) ?
It is indeed a great learning and testing tool. It has some issues, though. For example:
1. Match: /^$/gm
Replace: foo
Text:
“line 1
line 2”
It produces:
“line 1
foofoo
line 2”
It should be foo, not foofoo.
2. It doesn’t display correctly capturing groups with lookbehinds in the bottom box.
I’ll report any other bugs if it may help you. For the rest, it’s the best!
I am trying to find a RegEx to change all H tags’ content to uppercase. Is it possible to pass $& to a function or perform .toUpperCase() on it?
i.e.,
change all some heading
to SOME HEADING
Any ideas? π
Oh, had stripped HTML in my previous comment.
<h1 class=”header”>some heading</h1>
<h1 class=”header”>SOME HEADING</h1>
Thanks for the great tool Grant!
someone posted me this link but i cant see how the matched expression appears!!
i put the pattern in the top blank box and the string in the lower(broader) one then clicked match but there was no change in the appearance of the tool
does this mean there was no match or the tool is not meant to show the matched parts of the string???
I am using 0.3.1b
@Og2t, first you must be sure that your H1 tags don’t have any child nodes, or else you have to make a more complex algorhythm (something like a html parser). Then do like this: match the opening tag, match the closing tag, and then get the text inside.
@wacha, just move the mouse over the matched text. A tooltip should appear.
I was just referred to your RegExp tool.
Wow! For this, you are my hero.
It makes it that much better to find it was born so close to home. (I’m in Calgary)
Nice thing, really… But I also recommend RegexpBuddy!
Grant,
I just used RegExr for the billionth time and I just have to express my gratitude. Thank you for such a helpful tool!
I’ve found a bug.
If the RegExp is very long the balloon tip is not shown on the textbox.
Excuse me for my english…
Bye!
I found a bug.
If the RegExp is very long the balloon tip is not shown on the textbox.
Excuse me for my english…
Bye!
P.S.: Very very very very great tool!
Thanks for this great tool! I am frequently using the RegExr for testing purpose. Helps me a lot!
Hi there,
just dropped by to say thanks for your great RegExr tool.
The best non-php based Regex helper that I’ve found yet.
Anyway Thanks and cheers!
Being a newbie, your RegExr is rrreally fantastic!
Most likely it is of great help to for the experts as well.
Am following the Regex tutorials of Jeffrey Way who is also using this tool.
Again – great!
Thank you so much.
Where I can found saved regexps (without launching RegExr app) ?
How come is that you decided to develop on Adobe Flash ?
By the way this is a great tool !!
^https?://.*\airfrance.com.br/