View Single Post
Old 05-25-2020, 08:52 PM   #6
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
With the emoticon, I can't decide if @font332 is being serious or not. But...

My first thought was simply:

Code:
(?i),?\\s+(and|with|;)\\s+
But, there will probably not be any spacing before the semi-colon.

I think the following works:

Code:
(?i),?(\\s*;\\s*|\\s+(?:and|with)\\s+)
I haven't done much testing with this. The only issue I can see is if you had "; and". In that case, the "and" would be part of the name.
davidfor is offline   Reply With Quote