Python Regex Interactive Tool

Python Regex Interactive Tool - allows you to interactively test the patterns.

Developed and tested with Anaconda distribution.  (Requires PyQt4 module that is part of Anaconda distribution)

Download Source Code:

https://github.com/ChandraLingam/PyRegex


Video Overview:


To run:
python LearnRegex.py

or

python LearnRegex2.7.py

Usage:
Pattern - Specify pattern here
Replacement Pattern - Specify replacement text or pattern (to be used with Replace button)
Text - Text on which to look for Pattern
Result - Output of the operation

Actions
Match - Find the first match
Next Match - Find subsequent matches
Replace - Replace matches with specified Replacement Pattern
Split - Split text based on Pattern

Please use comments for any feedback and suggestions!


Comments

  1. pyqt4, looks like your tool needs this to run and it is not part of the basic python install and it is not in your github library.
    PyQt is one of the two most popular Python bindings for the Qt cross-platform GUI/XML/SQL C++ framework

    ReplyDelete
    Replies
    1. Russel- pyqt4 comes standard as part of anaconda Python distribution

      Delete
  2. This comment has been removed by the author.

    ReplyDelete

Post a Comment

Popular posts from this blog

Python Regular Expression Quick Reference Guide And Cheat Sheet

Network and Subnet Primer for AWS Virtual Private Cloud