Deleting numbers from the Clipboard

It is always best to provide real-world data for both your source data (before) and the results you want (after); putting both in Code Blocks.

So, assuming something like:

«Per Idar Mullhaug» 92645905
«Ola Nordmann» 22331122

It is very easy to just remove the « and » characters using a Search and Replace action.
The RegEx is:
[«»]
This uses the square brackets to indicate ANY of the characters within the brackets.

Example Output

image

MACRO:   Remove Unwanted Character from Source Using RegEx [Example]


#### DOWNLOAD:
<a class="attachment" href="/uploads/default/original/3X/3/b/3be3a1fc294a20572e3bdfd779481897085a1ca8.kmmacros">Remove Unwanted Character from Source Using RegEx [Example].kmmacros</a> (2.5 KB)
**Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.**

---



![image|526x698](upload://52eCAXKo7veFrj6I4XW4W7eV3sM.png)

---

Does that answer your question?
1 Like