(//.[com]{3,3})
After trying the code it see both :. com & moc Please is there way to make it see only com
You don't need brackets, this means that you want a single character from the list [com].
[com]
Try this: //.com.
//.com