From: Jens Riedel Date: 2005-05-30T17:20:21+09:00 Subject: RegExp question Hello, I need to search a text for a specific pattern, then put all matches into an array. Usually I did this while going through the text line by line, but this time there can be more than one match per line. How can I achieve this most simple? Example: 'This is Example_1 in a line in a long text with Example_2 in the same line and Example_3 in the next one.' Searching for /Example_\d/ should give me an array ("Example_1", "Example_2", "Example_3") Greetings, Jens