文字列の正規表現をほぼ1日作成しようとしましたが、まだ機能していません。誰か助けてもらえますか?
string example (double quotes are options, and can also be single quotes):
"234"? "<img src=\"http://abc.com/a.jpg\" onclick=\"alert(\"\"working with 'quotes'?\"\");\" />"
and the following groups should be extracted:
234
<img src="http://abc.com/a.jpg" onclick="alert(""working with 'quotes'?"");" />
これが明確であることを願っています、誰もがplsを助けます!!