Sign in to follow this  
Followers 0
Aceguy

Stringreexpreplace again

3 posts in this topic

#1 ·  Posted (edited)

Herro, but that command really does not make sense for me, please

help me need to leave the ' in there

$string=" Hello 123 !£$%%^^ thats's  &$£12 better"
$res=StringRegExpReplace($string,"[^\w-]", " ",0)
Edited by Aceguy

Share this post


Link to post
Share on other sites



Like this?

$string=" Hello 123 !£$%%^^ thats's  &$£12 better"
MsgBox(0,"",StringRegExpReplace($string,"[^\w-']", " ",0))

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0