MemoryRefresh!

Uncategorized / Replace backslash with double backslash   Replace backslash with double backslash



Questions Answers 0%

Pages   0 from 91
Questions   0 from 142

Reset



<?php echo preg_replace('/([\])+/', '${1}${1}', "\b is a metasequence"); // 3 backslashes, replace lonely backslash with double blackslash // outputs: \b is a metasequence ?>
google.com stackoverflow.com


0% 100%
 
 
0 pages 91 pages
No questions



<?php echo preg_replace('/([\])+/', '${1}${1}', "\b is a metasequence"); // 3 backslashes, replace lonely backslash with double blackslash // outputs: \b is a metasequence ?>
google.com stackoverflow.com

References









Programming

Php
   
Regex
   
MySQL
   
Css
   
jQuery
   
Git
   


References