Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- text = "hello23 the2e are 13 5.12apples *specially_x00123 named"
- text_cleaned = "hello## the#e are ## #.##apples *specially_x00123 named"
- p1 = r'd(?<!*w+_w+)'
- p2 = r'(?:*[a-z]+_w+)b|d'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement