Skip to main content
added 1 character in body
Source Link
Bohemian
  • 427.4k
  • 103
  • 603
  • 750

You can use look behind and look ahead:

(?<=[a-zA-Z0-9]@@).*?(?=@@\.) 

https://regex101.com/r/i3RzFJ/1https://regex101.com/r/i3RzFJ/2

You can use look behind and look ahead:

(?<=[a-zA-Z0-9]@@).*(?=@@\.) 

https://regex101.com/r/i3RzFJ/1

You can use look behind and look ahead:

(?<=[a-zA-Z0-9]@@).*?(?=@@\.) 

https://regex101.com/r/i3RzFJ/2

Source Link
Ofir Winegarten
  • 9.4k
  • 2
  • 23
  • 27

You can use look behind and look ahead:

(?<=[a-zA-Z0-9]@@).*(?=@@\.) 

https://regex101.com/r/i3RzFJ/1