Dampe Posted July 22, 2008 Share Posted July 22, 2008 (edited) does anyone know of a UDF that can be used to erase out anything that isn't an alphebetical, or numberical character from a string? E.g. turn :Dampe0 into Dampe Anything would be apperciated Edited July 22, 2008 by Dampe Link to comment Share on other sites More sharing options...
smashly Posted July 22, 2008 Share Posted July 22, 2008 (edited) Hi,$SRER = StringRegExpReplace(":Dampe0", "(?i)[^a-z]", "") ConsoleWrite($SRER & @LF)oÝ÷ ØGbµ§ízºÞæx2¢êé¢ËmêÞßÛéz½"*.®«¨´H-º¹êºR¢'È~e£ÂÊ°j{^vÚ$yêméî·«jÌ[azr7õÛ¬y«¢+ØÀÌØíMIHôMÑÉ¥¹IáÁIÁ± ÅÕ½Ðìè1µÁ|ÀXÅÕ½Ðì°ÅÕ½ÐìÀäÈíÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì¤) ½¹Í½±]É¥Ñ ÀÌØíMIHµÀì1¤ Cheers Edited July 22, 2008 by smashly Link to comment Share on other sites More sharing options...
Achilles Posted July 22, 2008 Share Posted July 22, 2008 Check the functions StringIsAlNum and StringIsDigit... My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
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