Tuesday, December 29, 2009

Chrome Extension - Regular Expression Checker

On firefox, there are quite a few regular expression tester add-ons. Unfortunately, there has not been any for Chrome yet. So I decided to make a simple one.

Here it is, Regular Expression Checker 1.0


Simple regular expression checker/tester.

==== Features under development ====
 1. save regular expressions
 2. provide a library of pre-built regular expressions
 3. replace feature
 4. regex match status (how many matches, how many subpatterns, etc)


5 comments:

  1. I am familiar with regular expressions as used in Perl. This sounds like a useful tool but I can tell nothing from the screenshot. It looks more like an expression search tool. Am I missing something?

    ReplyDelete
    Replies
    1. IEEE Project Domain management in software engineering is distinct from traditional project deveopment in that software projects have a unique lifecycle process that requires multiple rounds of testing, updating, and faculty feedback. A IEEE Domain project Final Year Projects for CSE system development life cycle is essentially a phased project model that defines the organizational constraints of a large-scale systems project. The methods used in a IEEE DOmain Project systems development life cycle strategy Project Centers in Chennai For CSE provide clearly defined phases of work to plan, design, test, deploy, and maintain information systems.


      This is enough for me. I want to write software that anyone can use, and virtually everyone who has an internet connected device with a screen can use apps written in JavaScript. JavaScript Training in Chennai JavaScript was used for little more than mouse hover animations and little calculations to make static websites feel more interactive. Let’s assume 90% of all websites using JavaScript use it in a trivial way. That still leaves 150 million substantial JavaScript Training in Chennai JavaScript applications.

      Delete
  2. A lot of times you run into the situations where you want to know if your regular expression is valid, and matches what you need to match. In Perl or PHP, you often have to write a test script to just test out your expression (running in CLI) which to me is always a hassle and I have to do it quite often if my project requires a lot of regex. This tool has these testing capabilities pre-built for you so you can quickly get to your test instead of building a script just for a test.

    ReplyDelete
  3. I'm having trouble matching carriage return/line feeds. For example ...

    Search for : (\r\n){1}$
    Replace with: [space character]

    i.e. I want to replace one occurrence of carriage return/line feed with one space. Most mail clients word wrap by putting a hard return at a specific column number - I want to undo this; if I don't replace for two successive carriage return/line feeds then I get to keep the (intended) paragraphs.

    Can you provide a link to the help for the specific regular expression engine that you are using?

    Thanks,

    John

    ReplyDelete
  4. @JB
    I'm gonna have to test out this one
    also, when you copy paste \r\n, i'm not too sure if it gets auto cleaned by chrome into just \n
    what you can try is (\r?\n){1}$

    ReplyDelete