I want to extract with a regex every digit and characters that are after an underscore. I tried \_\d{1,3}
but it didn't work at all.
Here is a sample of a chain that I need to manipulate: R_31_1_35_6a
.
Here is the result I want:
array('31', '1', '35', '6a');