- AuthorPosts
- August 8, 2008 at 11:47 am #6095feiliParticipant
Hello,
I need to remove all the
… elements in an xml file. For example, the string:…in the presence of a
transesterification catalyst should look like this:
… in the presence of a transesterification catalyst
I tried using this RegEx with emeditor (cf. below), but it does not work. This RegEx works with others editors such as Texpad.
Search :
(.*) Replace:
1What do I need to do to make it work with emeditor?
Many thanks for your help
August 8, 2008 at 3:04 pm #6096Yutaka EmuraKeymasterfeili wrote:
Hello,I need to remove all the … elements in an xml file. For example, the string:
…in the presence of a transesterification catalyst
should look like this:
… in the presence of a transesterification catalyst
I tried using this RegEx with emeditor (cf. below), but it does not work. This RegEx works with others editors such as Texpad.
Search :
(.*)Replace:
1What do I need to do to make it work with emeditor?
Many thanks for your help
must be removed before ( and ).
(.*)
should work.
August 8, 2008 at 3:52 pm #6098feiliParticipantHello Yutaka,
Unfortunately, it seems to be too greedy when there are several elements and it spills over the 1st one.
Can I control this behavior?“Saitenhalters 22 durch die beiden Löcher 23 im Holz 3 und anschließend durch die beiden Löcher 24 des Befestigungsplättchens 21 gesteckt, dann umgebogen und verdreht. attache de cordiervalidatedL’attache de cordier,”
Many thanks
feiliAugust 8, 2008 at 4:26 pm #6099Yutaka EmuraKeymasterUse non-greedy one.
(.*?)
See http://www.emeditor.com/help/howto/search/search_regexp_syntax.htm for more information.
- AuthorPosts
- You must be logged in to reply to this topic.