Jump to content

RegEx tester


Mat
 Share

Recommended Posts

Its been done many many times before, I've been using Lazycats one (here) for a while now, and occasionally this one, but I decided that I wanted another one.

The main things that this one does and Lazycats doesn't is make use of the offset of the pattern error returned through @Extended. Mine shows a small "^" below the offset, making it easier in long patterns. It also uses controls other than an edit: Radio's, listboxes and a listview for option 4 (Still an edit for Replace mode). To select the option simply change the tab.

I can't seem to be able to create listview columns, so used 100 cols setting unused ones width to 0.

Screenshot:

Posted Image

download link:

http://m-a-t.googlecode.com/files/StringRegExTester.zip

Mat

Link to comment
Share on other sites

Well done Mat. :)

I have a suggestion(request??;)). How about adding "Presets" item into the Regex Pattern? A list of some of the most common regular expression patterns, such as <[^>]+> (html tag).

Just my two cents.

Edited by Mison

Hi ;)

Link to comment
Share on other sites

Well done Mat. :)

I have a suggestion(request??;)). How about adding "Presets" item into the Regex Pattern? A list of some of the most common regular expression patterns, such as <[^>]+> (html tag).

Just my two cents.

Yep, I'm also going to do a sort of save function. I'm thinking of using a combobox for it, kinda like a suggestions box, I will play around with it.

Mat

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...