[ad_1]
try this pattern((?:[A-Z]\.)+[A-Z]?|[a-zA-Z']+)
Demo
1
[ad_2]
solved What is the java regex to extract words and abbreviations? [closed]
[ad_1]
try this pattern((?:[A-Z]\.)+[A-Z]?|[a-zA-Z']+)
Demo
1
[ad_2]
solved What is the java regex to extract words and abbreviations? [closed]