I’d need to see a complete example but
you’ll probably need a comma before the such as as in:
Some screwdrivers such as a Phillip’s head are not included in ordinary tool sets.
Here’s a quote from the website Grammarly Handbook :
(Check it out on their web page: https://www.grammarly.com/handbook/punctuation/comma/38/such-as-comma/
It’s easier to read there.)
The phrase ‘such as’ only requires a comma in front of it if its part of a non-restrictive clause.
There are many different types of coniferous trees such as pine and spruce.
The comma in this sentence isnt necessary as its only giving examples.
The Grade 5 class studied ancient cultures such as Greece and Rome.
Fresh fruit provides many nutrients such as vitamin C.
Neither of the above sentences requires a comma.
The Grade 5 class studied ancient cultures such as Greece and Rome before they studied different forms of government.
Fresh fruit provides many nutrients such as vitamin C and tastes good too.
These two sentences require the because such as is part of the non-restrictive clauses.