问题
I am looking for recommendations for a browser based regex sandbox to practice some proof of concept expressions.
回答1:
I've used http://www.rubular.com/ a few times, seems to do the job.
回答2:
I like RegExPal.com. Good luck.
回答3:
This one's pretty good too: RegExr
回答4:
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.
回答5:
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.
http://regex.cyberpine.com
回答6:
Try NRegEx.
回答7:
http://demo.1060research.com/ep+name@app_regular_expression_cookbook
回答8:
For online sandboxes for several different languages, platforms, and open source applications, see this similar SO question.
回答9:
This is fairly handy for .net based stuff:
http://regexlib.com/
回答10:
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.
回答11:
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