Skip to content

Commit

Permalink
Update regex.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipebros authored Nov 7, 2023
1 parent 3369228 commit c3ea0e5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions regex.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@
```bash
^((?!palavra).)*$
```
## Encontrar a primeira palavra de uma string
```bash
^.*?(palavra)
```

0 comments on commit c3ea0e5

Please sign in to comment.