regex question on multiple word matches 
Author Message
 regex question on multiple word matches

I'm trying to sort through a list of names that are in no order. They could
be;

Last First
Last First Mi
Last First Mi.
First Mi Last
First Mi. Last

And all with possible descriptive addtions after the actual name. Is there a
way with a
regular expression to figure if it is case 1, case 2, etc?

I've been looking at patterns and doing a "\W" but that just tells me where
the first break is.
Is there anyway with a regex to have it return the entire word? Or entire
potential match
of Last First Mi. (notice there is actuall a period at the end of some of
these.

As you guessed it is an AD migration issue.

Thanks
Steve



Mon, 19 Jul 2004 11:07:47 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. RegEx Question: No stingy matching?

2. REGEX, groups and matching

3. RegEx: Pattern Matching going wrong: "\[.+\]\"

4. match [ (Regex)

5. Filename pattern matching using regex

6. RegEx object - Pattern Matching

7. RegExp question: match within another match

8. vb.net regex and microsoft word

9. New to Word VBA: automating a template (multiple related questions)

10. RegExp to match complete words

11. RegExp to match complete words

12. SQL - Matching multiple values in a many-to-many relation

 

 
Powered by phpBB® Forum Software