/БУМАГА №\s*(\d+)/g
Get-ChildItem d:\test -Recurse -Filter *img_*.svg
[IO.Directory]::EnumerateFiles('d:\test\','*img_*.svg','AllDirectories')
[IO.Directory]::EnumerateFiles('d:\test\','*img_*.svg','AllDirectories') | foreach {(Get-Content $_ -raw) -replace '.png','.jpg' | Set-Content $_) }
<form name="mySuperForm" id="mySuperForm" method="GET" action="http://www.testsite/search">
<input type="text" name="variable1"/>
<input type="text" name="variable2"/>
<button type="submit">submit</button>
</form>
<ul class="item_prop_list">[\w\s\S\r\n]*<\/ul>
<ul class="item_prop_list">([\w\s\S\r\n]*)<\/ul>
<div id="progressbar">
<div></div>
</div>
<style type="text/css">
#progressbar {
background-color: black;
border-radius: 13px; /* (height of inner div) / 2 + padding */
padding: 3px;
}
#progressbar > div {
background-color: orange;
width: 40%; /* Adjust with JavaScript */
height: 20px;
border-radius: 10px;
}
</style>
$url = 'http://example.com/restapi/post';
$params = array(
'$p1' => $_POST['txt1'],
'$p2' => $_POST['txt2'],
);
$result = file_get_contents($url, false, stream_context_create(array(
'http' => array(
'method' => 'POST',
'header' => 'Content-type: application/x-www-form-urlencoded',
'content' => http_build_query($params)
)
)));
echo $result;
if ($a == $b) {
}