Data manipulation for list of curves

What would be the easiest way to seperate this list of curves into two groups. (A and B):

(A and B)

image

curve list manipulation.gh (3.6 KB)

Maybe this could help ,

curve list manipulation-re.gh (9.5 KB)

1 Like

Here is another option:
curve list manipulation_v2.gh (7.2 KB)

2 Likes

Thank you!