0

How to replace string to node

How could it be possible? Here's my code. It doesnt work. How can I make something working like this? https://code.sololearn.com/W0SfSMD4De9G/#html Algorithm: there is paragraph there is word with red color with RegExp one word in paragraph replaces to word with red color.

16th Aug 2017, 6:03 PM
Илья баданин
Илья баданин - avatar
2 odpowiedzi
16th Aug 2017, 6:19 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
0
@Yaroslav Pieskov thank you!
19th Aug 2017, 8:18 AM
Илья баданин
Илья баданин - avatar