How to make string manipulating with ionic 2 / angular 2

Hallo all,

I want to ask about how we can manipulate string or array with ionic 2 / angular 2… for real example, i want to extract all images src from html string which i get from server via services… i find usefull answer from stackoverflow but there use jquery’s filter ( link )

anyone can help me? sorry if i noobs :stuck_out_tongue:

and im sorry for my poor english… i hope your help guys. thanks

You could use a regular expression to do something like that, using string.match(regex)

Ok, thank you for ur answer. i use that now. but, for next similar case, can we use some plugin like jquery or something else which have alot of useful function?

tq