How to set different font-family for 2 language in one paragraph

2 views
0

I have a text content in my html (wordpress), which contain 2 language – Hebrew and English.
I’m trying to find in the text, just the string in English and give theme different font-family.
I don’t want to use inline style for each string.
I need to use regex or something, to find in my “p” tag, those strings and give theme the specific font that i want.
how can I do that?