HALBURN Posted April 14, 2014 Posted April 14, 2014 I am trying to rename some images so I can remove characters that are causing trouble when they are used on the web. For example ( ° and & ) are causing trouble. Is there a good way to clear out all characters that may be problematic when used in image file name on a website?
Lee Smith Posted April 14, 2014 Posted April 14, 2014 If I’m reading your last couple of posts, they all seem to be related to the same need? If so, we should merge the related topics so we are not jumping back an forth to follow.
HALBURN Posted April 14, 2014 Author Posted April 14, 2014 While both question are related to the same project it seemed like combining them was not appropriate as they are really two completely different questions. It also seems like combining them might not be very helpful to someone in the future that is trying to resolve this specific issue.
webko Posted April 15, 2014 Posted April 15, 2014 An extension of this will probably do what you want: http://fmdiff.com/fm/cleantext.html
David Jondreau Posted April 15, 2014 Posted April 15, 2014 It may be simpler to "whitelist" characters than "blacklist" them. You can use the Filter() function to strain only the valid characters.
HALBURN Posted April 16, 2014 Author Posted April 16, 2014 Thanks for your help guys. I like your idea David.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now