This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes regular expressions, characters unallowed in file names Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "regular expressions, characters unallowed in file names" Watch "regular expressions, characters unallowed in file names" New topic
Author

regular expressions, characters unallowed in file names

chop ficaro
Ranch Hand

Joined: May 02, 2010
Posts: 30
trying to take a url and turn it into a file name by grabbing the last bit of the string that doesnt have any characters that arent allowed in file names, but this keeps returning "://" and slashed, all the charqacters i DONT want
Ireneusz Kordal
Ranch Hand

Joined: Jun 21, 2008
Posts: 423
What about this?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: regular expressions, characters unallowed in file names
 
Similar Threads
File Reading
RegEx
Remove all control characters except \n & \r
Problem using Pattern and Matcher (REGEX)
Pattern Matching