Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(?<!\w)@([^\s]+)
/
g
Input 1
This is a @valid/path/to/a/file and it should also match at the beginning of a line: @another-valid/path/to/a/file but this is not: - Adds a "Co-authored-by:" footer which clarifies which AI agent helped create this commit, using an appropriate `noreply@...` email address.