(text: string)
| 2 | /(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/g; |
| 3 | |
| 4 | export const extractEmail = (text: string) => text.match(emailRegex); |
| 5 | |
| 6 | const quotedRegex = /\n*On.*<?\n?.*>?.*\n?wrote:\n?/; |
| 7 | const quotedSpanishRegex = /\n*El.*<?\n?.*>?.*\n?escribió:\n?/; |
no outgoing calls
no test coverage detected