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+([A-Z0-9]+[A-Za-z][A-Za-z0-9]*)\b
/
gm
Input 1
A capitalized word in the middle of a sentence Publishers Warehouse looks like a name. Marketing at the start of a sentence may not be company name. A company name at the end of a sentence is Finality Inc. Here are 5 companies: Maxco101, 42Designs, HP, Initrode, IBM, FooMax, and something fUNKy but not a company in a list. Here is somethine capitalized after a "quote" Enron said. Also a capitalized word at the start of a quote such as "Facebook is watching you!" may not be a company name.