Please help me with Regex pattern

I have a list of vaules like this: 10x5, 19(a)x4, 6, 4x8, 8
I need with Regex Pattern select numeric values up to the x sign, i.e. the final list should become like this: 10, 19, 6, 4, 8.
Can you please tell me how I can do this using Regex?

1 Like

Wow! Thank you so much for your help!

This topic was automatically closed after 70 days. New replies are no longer allowed.