Regular expressions can be a pain. This tool is designed to help developers learn, practice, and compose regular expressions.
The HiFi RegExp tool is 100% JavaScript using jQuery. This tool was created by New Media Campaigns, the team behind HiFi, a next-generation CMS for web designers, developers, and agencies. Enjoy!
var regex = /([a-z]*), (\S*), and (\w*)/g;
var input = "your input string";
if(regex.test(input)) {
var match = input.match(regex);
alert(match);var matches = input.match(regex);
for(var match in matches) {
alert(matches[match]);
}
} else {
alert("No matches found!");
}