0

I have been looking for previous answers but none of them were of use for my case.

I have a string such as:

"ABCD(EFG, HIJ, KLM)"

I want to get the content using sscanf

Its' regex equivalent is /(.*)\((.*?),\s?(.*?),\s?(.*?)\)/g

but I do not know how to apply it in sscanf.

  • Pretty sure it's not possible to use regex within `sscanf`. You'll need a 3rd-party regex library for this. – ForceBru Nov 24 '22 at 22:24

0 Answers0