in reply to Regex, match one or other character class
[\.|\s] \s+ matches either a dot (or a pipe - thanks, LanX) or a space but then followed by at least one other space. Only one of your test strings matches this pattern.
Update: added bracketed clause to specify the pipe - see reply
🦛
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regex, match one or other character class
by LanX (Saint) on Apr 25, 2023 at 16:43 UTC | |
by hippo (Archbishop) on Apr 26, 2023 at 09:59 UTC | |
by LanX (Saint) on Apr 26, 2023 at 10:23 UTC |