I still have not understood the logic behind using the regular expression search and replace. Would someone please assist me here:
The clipboards are:
A.)
Per Idar Mullhaug 92645905
How to make KM output as final output (without the «»)
«Per Idar Mullhaug» (no space after the last character)
Per Idar Mullhaug
There might also be:
B.)
Ola Nordmann 22331122
How to make KM output as final output (without the «»)
=
«Ola Nordmann» (no space after the last character)
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
MACRO: Remove Unwanted Character from Source Using RegEx [Example]
I think (based on the topic title) what he/she was asking was how to delete the numbers and just leave the name, and that the angle brackets were there just to show that there should be no space after the name, but the brackets aren't part of the actual data or the desired output. Sort of the way you might tell someone in a macro to "Put your data here" , but don't leave the quote marks in.
Yes it workded except for a "line change" or other system info (not sure what to call it). When I paste the result it looks great, but then seems to hit "enter" by itself (so the cursors enter the line below).
How to remove that?