Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

What is the escape character for DOT in java regex?

807603Jun 12 2005 — edited Jan 9 2008
How to specify a dot character in a java regex?

. itself represents any character
\. is an illegal escape character
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 6 2008
Added on Jun 12 2005
3 comments
2,872 views