Jun-18-2019, 04:57 PM
If structure of strings is similar then one can achieve desired result also without re
>>> s = "Call Loc/Folder/(555) 555-5555 - 2/27/2019 8:52:34 AM/RoomB" >>> " ".join(s.rsplit("/", maxsplit=1)[0].rsplit(maxsplit=3)[-3:]) '2/27/2019 8:52:34 AM'
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.