Regex to collect between two characters
top of page

Regex to collect between two characters

A simple regular expression:


<.*?>

. . . will find any characters between the less than and greater than symbols or any other 2 characters placed before and after ’.*?’


As shown in this example, this search can be used to select (or remove) the display names in a list of email addresses.






bottom of page