Regex for strings

I have a bunch of strings and need to return substrings from them: const inputs = [ ‘Test: Text – N GTTTsds – Exists’, ‘Test: Text something here – Exist’, ‘Tictactoe foo baz – bar – Exists’, ‘Something still here’, ‘Joe Doe’ ]; const output = []; inputs.forEach(input => { const resp = /(?:Test: )?(.+)(-…

Details

Problem with SSL certificate on Android 4.4: Trust anchor for certification path not found

I do know why but my app on Android 4.4 (HTC 626) couldn’t connect to my site. The problem occurs and from the app using URLConnection and OkHttpClient and when I try to open a site in Chrome (“Connection is not private”). javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. Certificate issued by Sectigo.…

Details