This question got me thinking in a regex for matching javadoc comments that include some specified text.
For example, finding all javad
Try this one :
/\*\*([^\*]|\*(?!/))*?@deprecated.*?\*/