Answer to Question #57112 in Java | JSP | JSF for Kadmiel

Question #57112
How to use regular expressions in java in order to format and cleaning the files...
1
Expert's answer
2015-12-26T06:52:36-0500
We will consider a simple template for comparison of the file and breaking up of him name to pieces: name and expansion, dissociated from each other a point: .*[.].*$. Symbol . requires the special brackets, as a point is metacharacter, that evidently in this expression. Also we will mark final $; he is added in an order to provide plugging in expansion of all remain of line. For the exception of bat expansion: .*[.](?!bat$).*$.For the exception of bat and exe expansion:.*[.](?!bat$|exe$).*$

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS