What is the Java equivalent of JavaScript's String.match()

I need to get an array or a list of all matches

Example:

var str = 'The quick brown fox jumps over the lazy dog';
console.log(str.match(/e/gim));

gives

["e", "e", "e"]

http://www.w3schools.com/jsref/jsref_match.asp

Edit
Report