Using a regex I need to be extract the text between : and the comment /* so that the output is Verdana, Arial, sans-serif. Any pointers on how to approach this problem would be helpful.
: Verdana, Arial, sans-serif /*{ffDefault}*/;
Using a regex I need to be extract the text between : and the comment /* so that the output is Verdana, Arial, sans-serif. Any pointers on how to approach this problem would be helpful.
: Verdana, Arial, sans-serif /*{ffDefault}*/;
 
    
    Do:
:\s*([^/]+)\s*/\*\{[^}]*\}\*/
The only captured group is your desired portion.
:\s* matches a :, followed by any number of whitespaces
([^/]+) matches upto the next / and put in a captured group 
\s* matches zero or more whitespaces, followed by comment (/\*\{[^}]*\}\*/)
