I have one string:
Code:
asdassda_folder_asdswdfd_file_asedswfds
When i try:
Code:
test = re.findall("_(.+)_", "asdassda_folder_asdswdfd_file_asedswfds")
The output is:
folder_asdswdfd_file

And i need to capture _folder_ and _file_ , the other text that surround can change.
Tryed several ways but couldn´t success, perhaps someone can point me to the right direction.

Thanks in advance.