Posts by Diego Borges • 43 points
2 posts
-
-1
votes1
answer52
viewsQ: How to apply str_replace only in identical terms?
I created the function below: function setFamiliarURLsInsteadOfNames($FamURLsList=array(), $texto){ if(!is_array($FamURLsList) || empty($FamURLsList)) return…
phpasked Diego Borges 43 -
4
votes2
answers396
viewsQ: Using REGEX in PHP to capture any number that is not within single quotes
I have been studying regex for some time and now I have a problem: capture all the numbers, including decimals, other than in single quotes. I’m creating a kind of Viewer for PHP code in order to…