Replace a special character
-
Hi,
I´m using this [^\x00-\x7F]+ to find the “no ASCII” characters and then replace them with a space. But when it finds 2 or more “no ASCII” characters together, it only replaces one space for all the characters that are together.
Example:
FIND: “ASASÉÉSSS”
REPLACE: “ASAS SSS”And I need like this: “ASAS SSS” (two spaces)
Any help ?.
Thanks. -
dosn’t it help to replace the + mulitplier with a question mark?
Like[^\x00-\x7F]?Cheers
Claudia -
How about just forget the
+and the?altogether? -
-
Well, we RARELY get the full story here…with the FIRST posting.
:-)
(Looks like we got the full story THIS time–predicting the future!!!)
-
Thanks. It works without the + and ?.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login