Netbeans IDE 8.2 Refresh Folder missing
2016-11-23
In Netbeans IDE 8.2 the "Refresh Folder" option in right mouse click context menu may be missing. Here i show how to bring that option back to the context menu.
Overview
HowTo
-
In Main Menu, click
Tools => Options
PHP: extract email addresses from string
2016-10-20
this function searches for email adresses inside a String and returns an array containing the adresses. Thanks to unicode parsing it can detect those with umlauts also.
<?php
/**
* search for email adresses, returns them as array
* @access public
* @param string $sString String to search in
* @return array $aMatch
*/
function getEmailArrayFromString($sString = '')
{
$sPattern = '/[\._\p{L}\p{M}\p{N}-]+@[\._\p{L}\p{M}\p{N}-]+/u' […]