How to read comma separated string through fscanf

In reply to Prashant Soni:

Verilog’s $fscanf is very limited when it comes to strings.

You’re going to have to parse the string yourself, or see Use of regular expression for string comparison | Verification Academy