I'm working on a code in php
, and I want to work with regular expressions
so this is the file I have
(1) DF Mikael Nilsson ## 27, Panathinaikos (GRE) (3) DF Olof Mellberg ## 64, Aston Villa (ENG)
So I have made myself a regular expression
that is this one #\W[A-Z]{3}\S#
but the outcome is (ENG)
and I want the outcome te be only ENG
and GRE
so only the text inside the parentheses.
I hope there is someone who can help me, Thanks for the afford