11
rated 0 times
[
18]
[
7]
/ answers: 1 / hits: 18298
/ 11 Years ago, mon, may 6, 2013, 12:00:00
I am currently porting my web app codes from PHP to JS.
I am having an issue with this regex. from PHP
/(d*)|/(P)//
used like this
preg_replace('/(d*)|/(P)//', '', $string);
how can I convert this to work on JS ?
str.replace();
Thank you in advance
More From » php