Hot answers tagged

5 votes
Accepted

Tool for extracting text patterns with Regular Expression?

You Already Have OS-X comes with python installed, if not it is a free download, and python comes with the re library installed by default, which is one of the best regular expression libraries that ...
Steve Barnes's user avatar
  • 31.6k
5 votes
Accepted

An assistant for REGEX editing

Personally I would recommend the online regex101: Supported flavours: pcre (php), javascript & python Your own library and others Shows you what is going on as you construct your re Explains what ...
Steve Barnes's user avatar
  • 31.6k
4 votes

Text editor that takes more than 10 gb

There is a chance, that Sublime is suitable for your task, but with several prerequisites: You should disable plugins such as syntax highlighting, bracket matcher or git gutter, i.e. any plugin that ...
maxkoryukov's user avatar
3 votes

Regex Desktop Tool for Offline Use (Cross Platform)

Are you looking for a tool to run regular expression searches or to help develop & test the regex? Cross Platform Regular Expression Tool I am a big fan of Robert Kern's python grin tool/library. ...
Steve Barnes's user avatar
  • 31.6k
3 votes
Accepted

Convert indentations across all files in bulk

I've tried different solutions, from regular expressions in Sublime Text to dedicated JavaScript beautifiers such as js-beautify and UglifyJS2 (with the --beautify option). Regarding regex, it seemed ...
mguassa's user avatar
  • 1,818
2 votes

Free program to create regular expressions with a GUI

Not a windows app, but if that isn't a barrier to you, I'd recommend Regex101.com - it does allow you to switch between pcre/javascript/python/golang flavours, if that helps.
CJM's user avatar
  • 409
2 votes

Free program to create regular expressions with a GUI

Expresso Regular Expression Tool has an expression builder: and built-in libraries: Perhaps this is what you are looking for?
Ooker's user avatar
  • 830
2 votes

Software to text-search a LARGE set of files (ebooks)

The open source DocFetcher has indexed over 10.000 epub books for me. The indexing process is quick, and conducting a full-text search across all of those books (after indexing) takes only a few ...
Alessandro Ghio's user avatar
2 votes

Tool for extracting text patterns with Regular Expression?

You already have… grep and sed If you’re okay with POSIX regular expressions, every unixoid system comes with grep and sed. Extract matching lines: grep 'pattern' file Extract matches: sed -n '/^....
mirabilos's user avatar
  • 981
2 votes

Code Analysis - List of all static fields

You can try JArchitect and its code query language to get all the static fields You can customize the query to get only the static fields from a project, package or a class.
James from CppDepend Team's user avatar
2 votes

Library to generate text from regular expression

Does greenery do what you want? For instance, >>> from greenery.lego import parse >>> rep = parse('(a|b)[cd]{2}\1') >>> list(rep.strings()) ['acc\x01', 'acd\x01', 'adc\x01',...
Bill Bell's user avatar
  • 290
2 votes

Library to generate text from regular expression

The python library rstr has the function xeger() to do what you need by using random strings and only returning ones that match: Example Install with pip install rstr In [1]: from __future__ import ...
Steve Barnes's user avatar
  • 31.6k
2 votes

Editor that shows RegEx selection and replacement results?

As is often the case in text editing, The One True Editor Emacs has a package for doing this. See this SO post about doing the very same thing in Emacs. Here are links to the relevant packages: https:...
GDP2's user avatar
  • 255
2 votes

Editor that shows RegEx selection and replacement results?

I use this: RegExRX And since a picture is worth a 210 words, so:
ruslaniv's user avatar
  • 308
2 votes

Regex Desktop Tool for Offline Use (Cross Platform)

Have you looked at kiki (https://sources.debian.org/src/kiki/0.5.6-8.1/). It's written in Python and uses wxPython, so likely could be run on numerous platforms. It's in Debian repositories, and ...
rd_nielsen's user avatar
2 votes

Text editor that takes more than 10 gb

From my experience, Emacs (for Windows) and Sublime (both free although there is a paid version for Sublime, but you don't need that) would be your best bet. I have opened 6GB files with Sublime ...
tale852150's user avatar
1 vote

Regex Desktop Tool for Offline Use (Cross Platform)

Regular Expressions 101 (Desktop Edition) Description This project is a desktop version of the regex101.com site. It embeds a copy of the site inside the application so that no internet connection is ...
NoNameoN's user avatar
1 vote

Regex Desktop Tool for Offline Use (Cross Platform)

On my side I always use this Chrome App. It is very simple and light and it support the few things I need (multiline, highlight and replace). The big plus against the online tool regex101 is that once ...
рüффп's user avatar
1 vote

Need regex library for doing multiple matches in a string for C

You could use the http://www.pcre.org/ library. Please cut our problem into smaller pieces the next time. If you current issue is a regex question, then it is unneeded information that you fetch ...
guettli's user avatar
  • 157
1 vote

Search & Replace Software which accept replace words count more than 234,206 characters

You should be able to do this with a simple python script, something like: import os # Assuming that the replacement words are in a plain text file with # colon separating the original & new ...
Steve Barnes's user avatar
  • 31.6k
1 vote

regex to code converter (code generator)

Fo rmany years I have been extremely happy wiht RegEx Buddy. It is not free, but reasonably priced (and the OP does not ask for free). Develop Efficient Software Quickly with Instant Code Snippets ...
Mawg says reinstate Monica's user avatar
1 vote
Accepted

regex to code converter (code generator)

A few suggestions shamelessly copied from a similar SO question: re2c - "regular expression to C" says it's about generating lexers: re2c is a lexer generator for C/C++. Its key features are: ...
einpoklum's user avatar
  • 3,189
1 vote
Accepted

Code editor that supports regular expression lookbehind search

Sublime Sublime can handle lookahead and lookbehind. abc Search for (?<=a)b finds b Search for (?<=a)c gives no results Sublime is proprietary software. Sublime Text may be downloaded ...
pLumo's user avatar
  • 774
1 vote

Code editor that supports regular expression lookbehind search

Atom Lookbehind does not work, while lookahead works (?!). But you can use \K in a similar manner. abc Search for (?<=a)b gives Invalid group error. Search for a\Kb finds b. Search for a\Kc ...
pLumo's user avatar
  • 774
1 vote

Regex File Content Scanner with Capturing Groups

Have you tried Agent Ransack? It allows you to scan file name and contents. It allows regex. It displays the results in a table.
Chillie's user avatar
  • 341
1 vote

Regex File Content Scanner with Capturing Groups

Notepad++ is capable of that: scans files filtered by file name patterns: 'Yes, see the "Filters" box in above screenshot. for occurrences of a given regular expression: Yes, see lower left radio box ...
Izzy's user avatar
  • 18.7k
1 vote

Web-app or Windows app to show speed of regex (regular expression)

If you are using python with the re or regex libraries you can simply use the timeit library or even easier in iPython or Jupyter you can use the %time and %timeit magics along with the %prun magic. ...
Steve Barnes's user avatar
  • 31.6k
1 vote

Any C++ RegExp library with support full regexp in lookbehind

The Perl-compatible regular expression library (PCRE) Language: C (seems to also have C++ wrappers) Compiler support: GCC for sure, probably all popular compilers Actively maintained: Yes, last ...
einpoklum's user avatar
  • 3,189
1 vote

Editor that shows RegEx selection and replacement results?

Almost every JetBrain product does have a live preview (grey box) Of course there is (as you mentioned) SublimeText If you can live without a graphical user interface you can use sed
holzkohlengrill's user avatar
1 vote

Simple Editor with PCRE support

You could take a look at Editra which is: Small & Fast to load Cross Platform (Linux, OS-X & Windows) GUI wxPython Python 2.6/2.7 Open Source & Gratis Uses python regular expressions ...
Steve Barnes's user avatar
  • 31.6k

Only top scored, non community-wiki answers of a minimum length are eligible