Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
May 24th, 2018
80
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.31 KB
| None
|
0
0
raw
download
clone
embed
print
report
$str = ' семь пробелов от начала строки а если вот такой текст ?'
$str = ' десять пробелов от начала строки а если вот такой текст ?';
echo preg_match_all('~(?<=^|G)s+?(?=s|S)~', $str);
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
C | 16 min ago | 4.54 KB
Untitled
Java | 35 min ago | 0.52 KB
haircut.py
Python | 40 min ago | 0.69 KB
O(N) approach to Path sum 3
C++ | 42 min ago | 0.66 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 52 min ago | 0.39 KB
Untitled
JavaScript | 1 hour ago | 0.67 KB
fn_initSafezone.sqf
SQF | 1 hour ago | 8.36 KB
startupexe.lua
Lua | 1 hour ago | 0.02 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!