Thread: [Solved] Regex-pattern
View Single Post
 
Old 01-06-2025, 07:03 AM
batman1 batman1 is offline Windows 11 Office 2013
Advanced Beginner
 
Join Date: Jan 2025
Posts: 57
batman1 is on a distinguished road
Default

Quote:
Originally Posted by vivka View Post
Batman's final code with the capturing group moved to the end (my personal opinion: similar effect, but better for understanding the logic):
Code:
, [A-Z][A-Za-zü\-]+( [A-Za-zü\-]+)*,

I don't understand. ", [A-Z][A-Za-zü\-]+( [A-Za-zü\-]+)*," it's not my code.


My code is ",( [A-Za-zü\-]+)* [A-Z][A-Za-zü\-]+,"


SIMILAR EFFECT?

Kod ", [A-Z][A-Za-zü\-]+( [A-Za-zü\-]+)*," znajdzie ", John smith,"


My code ",( [A-Za-zü\-]+)* [A-Z][A-Za-zü\-]+," NIE znajdzie ", John smith,"