How to read comma separated string through fscanf

In reply to dave_59:

Thank you for your response,
How uvm_re_match function will useful for me? could describe it in detail?