can no emails formattad
-
Hi, I wanted to ask if someone knows how I can put an SQL file and that contain emails table in quotation marks (')
Example: (is not yet formatted)
(3000.1, info(ät)online-media-team.domain , 0),- I want to put the emails all in (') quotes, but I don’t know how to do this with Notepad ++ PS: There are about 300 emails.
can someone help me
- I want to put the emails all in (') quotes, but I don’t know how to do this with Notepad ++ PS: There are about 300 emails.
-
@Dj-Michael-Beil-de-OMT24-Corp
I think you mean you have lines like this:(3000.1, info@online-media-team.domain , 0),and you want lines like this:
(3000.1, 'info@online-media-team.domain' , 0),If that’s it, select Search | Replace… from the menu, then fill in:
Find what :
\b([^\s,]+@[^\s,]+)\b
Replace with :'$1'
Search Mode : Regular expressionand click the Replace All button.
Note: Precisely validating an email address, to accept all properly-formed email addresses and only properly-formed email addresses, is trickier than one might think. In context, the expression above will probably work; but check the results to be sure nothing unexpected happened. The expression can be refined to be more precise, if it fails, depending on just what is going wrong.
-
-
@guy038 I think your first search expression was supposed to be
[^\s,]+@[^\s,]+which also has a nice symmetry. -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login