Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Website url validation using php
<?php //php 7.0.8 $website = 'www.123.com'; echo preg_match("/\b(?:(?:https?|ftp):\/\/|www\.)[-a-z0-9+&@#\/%?=~_|!:,.;]*[-a-z0-9+&@#\/%=~_|]/i",$website); ?>
run
|
edit
|
history
|
help
0
ujang
Jasty
user defined function in php to calculate the table
ara
B
aadam
HomeWork29.06.2021
ITM_14210124
Ttrf
DEV