in reply to Re: newbie to regex: all matches
in thread newbie to regex: all matches

Be sure to \? before your ? as that's a special character.

UPDATE adding code

my @matches = ($content =~ m/(image.php\?id=\d+)/g);

UPDATE 2 Fixed typo of /? to \? thanks to GrandFather



"Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"

sulfericacid