Created
June 5, 2021 01:50
-
-
Save hlpureboy/6336d1a8f49bf10bdcaeeb6840f762d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
test_str = 'This story appears in the June/July in U.S..' | |
test_str=test_str[0] + re.sub('[A-Z]', '', test_str[1:], count=0, flags=0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment