I am looking for recommendations for a browser based regex sandbox to practice some proof of concept expressions.
I've used http://www.rubular.com/ a few times, seems to do the job.
I like RegExPal.com. Good luck.
This one's pretty good too: RegExr
Which flavor? Regex support is included in most of the major programming languages in use today, in editors and IDE's, in command-line tools like grep and findstr, and lots of other places. Every one of these tools/languages/applications has its own regex flavor, and no two flavors are completely alike.
For the regex flavor of a specific programming language, I just Google for "<language> regex tester"; there always seems to be at least one online tester available.
I wrote my own Regular Expression (REGEX) Online Test Sandbox with a Match and Replace feature since I could not find one with a Replace feature. It's running under a DOT NET (.NET) Engine. Great for testing Regex patterns, but also good for quick and dirty reformatting of text files and strings.
Try NRegEx.
For online sandboxes for several different languages, platforms, and open source applications, see this similar SO question.
This is fairly handy for .net based stuff:
http://rgx-extract-replace.appspot.com/ provides extracting and replacement functionality.
- It extracts and enlists in columns the groups of the matched pattern.
- Optionally it can replace the pattern in the input text. It works in the same way as the Java regex api.
I'm biased of course because I wrote it. But there's a good one for .NET regular expressions called Regex Hero.
来源:https://stackoverflow.com/questions/463796/is-there-a-good-browser-based-sandbox-to-practice-regex