Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Which site are you using to refresh your regex?


I use this one https://regex101.com/


In addition to the online tools that other commenters have pointed out, I strongly recommend finding a regex "cheat sheet" (there are dozens online) and actually printing it out - I have one pinned to the corkboard next to my monitor and it is invaluable. It will save a lot of time from having to remember all the character classes, which characters do/don't need an escape \, and crazy lookaround syntax ("was it ?<! or ?<=")


I'll add Debuggex to the list that does a visual representation of a Regex and can be a god-send. https://www.debuggex.com


I really like http://regexstorm.net/ for .net based regex- the included regex tester is a very nice feature to debug a regex...


https://regexr.com saved my life




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: