Community Patterns

Community Library Entry

1

Regular Expression
Created·2022-04-21 13:29
Flavor·PCRE2 (PHP)

/
(?<=,|\t)(.*?)(?=,|\n)
/
mg
Open regex in editor

Description

Extract strings between a delimiter (",") or between a tabulation and a cr

Example : toto@gmail.com,yoda@testmail.fr,foo@dugenou.com

This expression will return bold e-mails

Submitted by anonymous