質問編集履歴
2
クォートの修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
#元データ
|
7
7
|
```
|
8
|
-
$text =
|
8
|
+
$text = '
|
9
9
|
テキストテキストテキスト
|
10
10
|
<a href="https://domain.com/?id=123456890"></a>
|
11
11
|
テキストテキストテキスト
|
@@ -14,7 +14,7 @@
|
|
14
14
|
<a href="https://domain.com/?id=11112223333"></a>
|
15
15
|
テキストテキストテキスト
|
16
16
|
<a href="https://domain.com/?id=111122233334444"></a>
|
17
|
-
|
17
|
+
';
|
18
18
|
```
|
19
19
|
|
20
20
|
##得たいデータ
|
1
文字列の調整
title
CHANGED
File without changes
|
body
CHANGED
@@ -7,13 +7,13 @@
|
|
7
7
|
```
|
8
8
|
$text = "
|
9
9
|
テキストテキストテキスト
|
10
|
-
https://domain.com/?id=123456890
|
10
|
+
<a href="https://domain.com/?id=123456890"></a>
|
11
11
|
テキストテキストテキスト
|
12
|
-
https://domain.com/?id=0112233445
|
12
|
+
<a href="https://domain.com/?id=0112233445"></a>
|
13
13
|
テキストテキストテキスト
|
14
|
-
https://domain.com/?id=11112223333
|
14
|
+
<a href="https://domain.com/?id=11112223333"></a>
|
15
15
|
テキストテキストテキスト
|
16
|
-
https://domain.com/?id=111122233334444
|
16
|
+
<a href="https://domain.com/?id=111122233334444"></a>
|
17
17
|
";
|
18
18
|
```
|
19
19
|
|