You can create different products template for the "different custom text". And assign this template to product which is used the custom text feature.
Add the custom text line item code in these templates according your needs.
A new product template for Women products
A new product template for Men products
A new product template for kids products
And so on...
You could check the products collection and add an if statement to display the text if the product is part of that specific collection:
If you need help with this, you can reach out to a Shopify Expert: