I'm trying to get a word between <>
. For example:
Text: "Joao <[email protected]>"
My regex should catch [email protected]
, but it's catching <[email protected]>
The regex I am using is <(.*?)>
.
Does anyone know how to remove <>
?