snipt

Ctrl+h for KB shortcuts

Text only

REGEXP - usefull

1
2
3
4
5
in var_dump array
regexp
=(>|>)\n\s*(array|string|int)\([0-9]+\)
replace by 
=>
https://snipt.net/embed/3407a80a555c9d931de0479c8700e0f6/
/raw/3407a80a555c9d931de0479c8700e0f6/
3407a80a555c9d931de0479c8700e0f6
text
Text only
5
2019-08-23T10:40:45
True
False
False
Dec 04, 2012 at 12:59 AM
/api/public/snipt/51142/
regexp-usefull
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>in var_dump array </span><span id="L-2"><a name="L-2"></a>regexp </span><span id="L-3"><a name="L-3"></a>=(&gt;|&amp;gt;)\n\s*(array|string|int)\([0-9]+\) </span><span id="L-4"><a name="L-4"></a>replace by </span><span id="L-5"><a name="L-5"></a>=&gt; </span></pre></div> </td></tr></table>
regexp, usefull