All Projects → Jcparkyn → Nodexr

Jcparkyn / Nodexr

Node-based Regular Expression editor

Labels

Projects that are alternatives of or similar to Nodexr

Grepbugs
A regex based source code scanner.
Stars: ✭ 118 (-21.33%)
Mutual labels:  regex
Guide To Swift Strings Sample Code
Xcode Playground Sample Code for the Flight School Guide to Swift Strings
Stars: ✭ 136 (-9.33%)
Mutual labels:  regex
Rosie Pattern Language
Rosie Pattern Language (RPL) and the Rosie Pattern Engine have MOVED!
Stars: ✭ 146 (-2.67%)
Mutual labels:  regex
Ffind
A sane replacement for find
Stars: ✭ 124 (-17.33%)
Mutual labels:  regex
Readable Pylint Messages
List of pylint human readable message ids and dev readable codes
Stars: ✭ 134 (-10.67%)
Mutual labels:  regex
Micromatch
Contributing Pull requests and stars are always welcome. For bugs and feature requests, please create an issue. Please read the contributing guide for advice on opening issues, pull requests, and coding standards.
Stars: ✭ 1,979 (+1219.33%)
Mutual labels:  regex
Learn Regex Zh
🇨🇳 翻译: 学习正则表达式的简单方法
Stars: ✭ 1,772 (+1081.33%)
Mutual labels:  regex
Blog
⚔️ 讲解关于正则表达式,前端,后端等相关的知识。也记录自己的一些学习内容
Stars: ✭ 148 (-1.33%)
Mutual labels:  regex
Recap
deserialize typed structures from regex captures
Stars: ✭ 135 (-10%)
Mutual labels:  regex
Tyre
Typed Regular Expressions
Stars: ✭ 145 (-3.33%)
Mutual labels:  regex
Kaggle Quora Dup
Solution to Kaggle's Quora Duplicate Question Detection Competition
Stars: ✭ 129 (-14%)
Mutual labels:  regex
Sammler
A tool to extract useful data from documents
Stars: ✭ 131 (-12.67%)
Mutual labels:  regex
Bilibili Ban List
居家旅行常备的B站弹幕屏蔽列表
Stars: ✭ 143 (-4.67%)
Mutual labels:  regex
Js Regular Expression Awesome
📄我收藏的正则表达式大全,欢迎补充
Stars: ✭ 120 (-20%)
Mutual labels:  regex
Natural Regex
Create regex from natural language
Stars: ✭ 147 (-2%)
Mutual labels:  regex
Lens Regex Pcre
Text lenses using PCRE regexes
Stars: ✭ 116 (-22.67%)
Mutual labels:  regex
Nim Regex
Pure Nim regex engine. Guarantees linear time matching
Stars: ✭ 136 (-9.33%)
Mutual labels:  regex
Tfmask
Terraform utility to mask select output from `terraform plan` and `terraform apply`
Stars: ✭ 148 (-1.33%)
Mutual labels:  regex
Xioc
Extract indicators of compromise from text, including "escaped" ones.
Stars: ✭ 148 (-1.33%)
Mutual labels:  regex
Regex Dos
👮 👊 RegEx Denial of Service (ReDos) Scanner
Stars: ✭ 143 (-4.67%)
Mutual labels:  regex

Nodexr

Nodexr is a node-based Regular Expression editor, created in C# and Blazor. Nodexr is published here.

You can also try it out by starting with one of these example expressions:

This screenshot shows a Regular Expression used to match floating point numbers, with or without an exponent:

Screenshot

Features

  • Uses the full .NET Regex engine for search and replace (unlike most online Regex tools).
  • Show the results of search and replace (using the .NET Regex engine) in the browser in realtime.
  • Full syntax highlighting.
  • Hover over sections of the output to see which node they were generated by.
  • The nodes can be used to work with (almost) all of the .NET Regex spec, and any additional functionality can be implemented either by using the Text node without escaping, or with a custom Group node.
  • The node-based approach makes it almost impossible to have syntax errors, missing parentheses etc (except with certain nodes)
  • Enter an existing Regex and it will be parsed into a fully editable node tree (using the Edit button next to the output). This should work with expressions of any complexity level (although there are a couple of niche features that can't yet be parsed properly).
  • Create a shareable link for your expression, to send to someone else or come back to later (this feature currently relies on the expression parsing, so in some cases the node tree will be a little different after sharing - but the expression should be the same).
  • Information about each node can be found by clicking the (i) button next to its title.
  • Automatically deals with non-capturing groups, so you no longer have to think about them in 99% of cases.
  • Runs completely client-side - no communication with a server after the initial page load.

How To Use

Drag-and-drop nodes from the left panel to insert them into the main window. The final result/output of your nodes must be connected to the Output node and is displayed at the top left.

The main concept is that the "nesting" behaviour of regex is expressed by connecting one node to the input of another, but items in sequence are connected using the Previous input at the top left of each node. Expressions can alternatively be connected in sequence (concatenated) using the Concatenate node. The output expression will be empty unless one or more nodes are connected to the Output node.

Nodes

Information about each node can be found by clicking the (i) button next to its title.

To use any Regex functionality that cannot be implemented with the provided nodes, create a Text node with 'escape' disabled to input parts of the expression manually.

Replacement

Use the bottom 3 panels to test a string for searching and/or replacement. Any valid .NET Regex replacement string can be used here, including named and/or numbered group references. The bottom right panel shows the result after replacement.

Contributing

Any contributions are welcome, but ideally start by creating an issue.

Also check out

A very similar tool called Regex Nodes has been made by Johannes Vollmer. There is no connection between Nodexr and Regex Nodes (in fact I didn't even know it existed until after I'd released v1.0.0), but it is a very polished alternative for those that need JavaScript regular expressions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].