//g
Flags:
  • Flags:
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!
Matched Text$1$2$3
1learn, practice, and...learnpracticecompose
2designers, developer...designersdevelopersagencies
var regex = /([a-z]*), (\S*), and (\w*)/g; var input = "your input string"; if(regex.test(input)) { var matches = input.match(regex); for(var match in matches) { alert(matches[match]); } } else { alert("No matches found!"); }