I am new to python excel automation. Please help me to extract specific numbers present in amidst different characters in columns.
Actual DATA
Column A
kDGK~202287653976 ~LD ~ 8904567
SIP~12335678 ~202267858245~LD~8936272
SIN112592~ LD ~ SIN112592
0194X0322 ~ LD ~ 202243296291
Expected Output
Column B
202287653976
202267858245
-
202243296291
I want to extract 12 digits which starts from "2022" and which doesn't have that should leave a blank cell. Simple condition but I am not able to figure how to do it.
Thanks in advance.