[JS][PHP] Regexp for matching URL Pattern
THIS SITE IS MIRROR || Skip to Full Contents (Read More)
[JS][PHP] Regexp for matching URL Pattern - img src=https://res.cloudinary.com/dimaslanjaka/image/fetch/https://www.webubi.com/wp-content/uploads/2017/03/regex.png alt=regexp Regexp Pattern Untuk mencocokkan semua jenis URL, kode berikut seharusnya berfungsi:
<?php
$regex = “((https?|ftp)://)?”; // SCHEME
$regex .= “([a-z0-9+!(),;?&=$_.-]+(:[a-z0-9+!(),;?&=$_.-]
THIS SITE IS MIRROR || Skip to Full Contents (Read More)
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.