I have below content and I need to separate third part as below with Pandas in Python:
My string:
FA0003 -BL- FA0005-BL
FA0004-BL-FA0008-BL
My Expected:
FA0005
FA0008
Imagine I have a string like this in a column named A, the regex of below string for retrieving FA0003 is as below, but I don't know how to retrieve FA0005?
FA0003 -BL- FA0005-BL
df[A].str.extract(r'(\w+\s*)', expand=False)
FA0003