I want to ask a question I am struggling with, but I don’t have enough rep points to post [closed]

I am struggling with a regex problem, and I found a post that could be useful, but I do no have enough points to ask my question. How does one typically go about this? I apologise for this stupid question, but I am stuck.

My question is related to highlighting/bolding text (javascript/react) given a search term such as “a”.

I’ve tried working with regex solutions, but I’ve hit a wall.