Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のルールを使用して置換する正規表現が必要です。
.
その前に整数が存在しない場合は.、それを置き換える必要があります。
$input = (文字、記号、数字、浮動小数点数などを含む)
例:
$myString = "Example 1.58 Stack.68";
出力は
Example 1.58 Stack,68
preg_replace('#(?<!\d)\.#',',',$myString)
I have a problem with NodeJS.express when I create a new package by using:
express test_web
It created successfully, but when I open localhost:3000
localhost:3000