Menu
I’ve never got my head around these regex things.
I’m looking to match firstname-lastname
I know (A-Za-z) will match the names without the hyphen between them but I have a hyphen .
I also need to cater for comma and hyphen within the names, as well as between their first and last name.
I don’t need to separate them, just find this pattern.
Any help please