Delete all characters on a line after a space
Posted: Thu Oct 28, 2010 2:36 am
Hello, I was looking for a macro or a regular expression that will allow me to delete everything in a line after the first space throughout the document. For example,
email@address.com texttobedeleted
another@emailaddress.com moretexttobedeleted
This would keep the email addresses, or whatever other text that is on the line, but will delete everything that comes after that first space.
Thanks!
email@address.com texttobedeleted
another@emailaddress.com moretexttobedeleted
This would keep the email addresses, or whatever other text that is on the line, but will delete everything that comes after that first space.
Thanks!