s/[^[:alpha:]]+Morrisville.*//; s/ *$//;
The first one removes Morrisville and the following together with any non-alphanumericbetic characters preceding it provided such characters exist. The second one removes the space at the end of the first name.
In reply to Re: Regex Help!
by choroba
in thread Regex Help!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |