Hi,
Is there an easy way in C to split a string based on a regex. I want to split on the regex [^a-zA-Z0-9], i.e. anything but alphanumeric chars.
This is a discussion on Split String within the C Programming forums, part of the General Programming Boards category; Hi, Is there an easy way in C to split a string based on a regex. I want to split ...
Hi,
Is there an easy way in C to split a string based on a regex. I want to split on the regex [^a-zA-Z0-9], i.e. anything but alphanumeric chars.
Yes, but no standard way (unless you write it yourself). Look into the many available regex libraries (google would be a good start...).