Skip to content

Commit 654d569

Browse files
committed
Example updated
1 parent b8efce5 commit 654d569

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,20 @@ $link = 'https://www.example.com/home';
5959
$isValidUrl = EloquentRegex::source($link)->url()->check();
6060
```
6161

62-
**Or**
62+
**Another:**
6363

6464
```php
6565
$isStrong = EloquentRegex::source("StrongP@ssw0rd")->password(function($string) {
6666
return $string->minLength(8)->minUppercase(1)->minNumbers(1)->minSpecialChars(1);
6767
})->check();
6868
```
6969

70+
**One more:** 😄
71+
72+
```php
73+
EloquentRegex::start("#hello #world This is a #test")->hash()->text()->get();
74+
```
75+
7076
## Key Features
7177

7278
- **Ready-to-Use Patterns**: Common patterns like emails, URLs, and IP addresses are pre-defined and ready to go. Just a few keystrokes and you're validating.

0 commit comments

Comments
 (0)