Hello Hunters 👋 This tool is designed as a cheatsheet that will explain commonly used regular expressions in way you actually learn it ❤ - for the haters out there 😉
Hey everyone 👋 ,
Regular expressions are real; hate it or love it.
I used to spend hours trying to craft the perfect expression for my scraping projects not realizing that I don't really know regex.
This tool is a cheat sheet that also explains the commonly used expressions so that you understand it.
- There is a visual representation of the regular expression (thanks to regexpr)
- The application shows matching strings which you can play around
- Expressions can be edited and these are instantly validated
Looking forward to your feedback,
Geon George :)
@geon_george Couldn't help but chuckle reading this part about "I used to spend hours trying to craft the perfect expression for my scraping projects not realizing that I don't really know regex."
I'd wager you know a lot more about regex now?
This is the developer's curse. We are always trying to fix the things that make our lives difficult when a lot of times it's not our expertise.
@rayliverified I would say I know a way more than I used to before I started the project. But I wouldn't still hire myself as a "regex expert".
Whoever invented this thing is smart but people like me using it gave it a bad reputation
Report
@geon_george Thank you so much for making this tool :)
Report
This looks great! Did you use any 3rd party tool to generate the diagrams? Because that looks amazing.
This is cool. I use regular expressions a lot but can always use some visual guidance. I noticed that the flow chart you generate describing the regular expression is typically cutoff (see https://app.usebubbles.com/67a25...) yet it's the most useful feature to me. Would you consider making that use more real estate?
@tom4 Thank you for the feedback.
I have added custom spacing for each type of expression(maybe I forgot for url).
I can't really automate it right now since it's an embed type. I'll try to come up with a fix to automate this.
Report
Even if you don't actually hate regex this can be really useful. Especially the visual representation can help understanding what is really happening in that weird two-liner expression you wrote three years ago. Also there's several examples that can help you get started.
Good idea for improvement would be some kind of drag and drop UI for making new expressions. Keep it going :)
This is a great idea. I often need to use regex and always struggle to remember the expressions, so I am definitely bookmarking this tool! Congrats on the launch!
@geon_george For example to get a piece of string within a string, when there are characters before and after the string or to remove parts of strings after or before certain characters with variable length.
@rachitmangi Haha I used to do that as well. More content is sure to be added. Thank you <3
Report
Thank you for this tool, i love the state diagram render which i can use to explain during meetups.
I had used regex in a Exploratory Data Analysis, it was hard to get everyone to just to modify regex.
Valet
Safeguard
Valet
Valet
Valet
Valet
Bubbles
Valet
Valet
Spline
Valet
Spline
Valet
Valet
Valet