Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
toki pona tokenization
Open Workspace
PCRE2 (PHP)
Match
Created 2022-03-11 16:19
0
Regular Expression
/
\b
(?:
[
ptkmnlswj
]
?
(?:
(?<=
w
)
[
aei
]
|
(?<=
[
jt
]
)
[
aeou
]
|
(?<=
[
pkmnls
]
)
[
aeiou
]
|
(?<=
\b
)
[
aeiou
]
)
(?:
n
(?!
[
nm
]
?
[
aeiou
]
)
)?
)+
\b
/
ixg
Description
a regex for matching words according to the rules of writing toki pona in latin characters
Submitted by
Anonymous