Skip to content

Instantly share code, notes, and snippets.

View Waseem-Almoliky's full-sized avatar
☺️
Have a nice day

Waseem Almoliky Waseem-Almoliky

☺️
Have a nice day
View GitHub Profile
@Waseem-Almoliky
Waseem-Almoliky / Base64Files.php
Last active May 15, 2022 10:51
Save and work with Base46 files in (PHP -> Laravel) . It was made as Laravel trait to allow usage when needed by using it
<?php
namespace App\Traits;
use Illuminate\Support\Str;
trait Base64
{
@Waseem-Almoliky
Waseem-Almoliky / Yemeni phone number regex.md
Last active July 19, 2024 13:11
yemeni phone numbers regex

السلام عليكم ورحمة الله وبركاته ، هذا كود ريجيكس للتحقق من صحة أرقام الجوالات اليمنية ، يقوم الريجيكس بالتحقق من مفتاح الدولة ، مفتاح شركات الإتصالات والخطوط الارضية لضمان صحة النص المدخل .

yemeni phone number regex

Hello

this is a regex code to validate yemeni phone number for private companies and ground lines almost everything :) hope you found it useful.

/^(((\+|00)9677|0?7)[01378]\d{7}|((\+|00)967|0)[1-7]\d{6})$/