Building a regex builder

Posted by i.h4d35 on Programmers See other posts from Programmers or by i.h4d35
Published on 2013-11-06T09:39:17Z Indexed on 2013/11/06 10:10 UTC
Read the original article Hit count: 485

Filed under:
|
|
|

I am a beginner in programming in general and web development in particular. I am especially bad at regular expressions. Recently I was involved in building a couple of cPanel plugins(Perl-CGI) and that's when I realized how bad I am in regex. As a result, I have decided to build an online regex builder - this will help me to learn regex and help other struggling with regex.

I have checked out GSkinner, Rubular and a couple of others like regexpal. It seemed to be a little difficult to use, hence i thought of writing another one.

I do not know which tool is best suited for the job. should I write it in Perl or Python? My skill level is between beginner and intermediate in both those languages. What would be a good starting point - building it for the CLI or for the browser?

I plan to get a string as an input, ask if the user want to search or search and replace, enter the search string (and the replace string where applicable) and then generate a regex. Would this be the right way to go?

© Programmers or respective owner

Related posts about python

Related posts about perl