Regex to search for a phrase -
hy,
please me regex find phrases in text.
my regex not ok. assumption phrases begin uppercase , end dot, , between can contain anything.
\b([a-z]+[aa-zz]*\b(.)+)
sincerly,
you can use following if between phrase doesn't consist of dot.
[a-z][^.]*\.
or perhaps, try using following.
[a-z].*?\.
Comments
Post a Comment