Jump to content

Recommended Posts

Posted

Just place carefully an hyphen into the character class in the group to capture names

'([[:alpha:]-]+)\h([A-Z][^,]+),\h ' & _    ; names

^_^

Posted

@mikell, It so funny that little insertion will fix this issue. Promise I really tried inserting hyphen in other expression lines just to match the expressions but not good enough. 😂... Thank you so much, wow, Regular expression really give me a headache nowadays... HAHAHAHA thank you mikell.😄

Programming is "To make it so simple that there are obviously no deficiencies" or "To make it so complicated that there are no obvious deficiencies" by C.A.R. Hoare.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...