What is the best way to match fully qualified Java class name in a text?
Examples: java.lang.Reflect, java.util.ArrayList, org.hiber
java.lang.Reflect
java.util.ArrayList
org.hiber
Following expression works perfectly fine for me.
^[a-z][a-z0-9_]*(\.[a-z0-9_]+)+$