[Ultraedit] Regex replace, variable vasthouden

Pagina: 1
Acties:

  • pim
  • Registratie: Juli 2001
  • Laatst online: 03-09 15:08
In ultraedit kan ik met de Regex Replace functie, bijv. alle <h1> tags verwijderen:

<h1>*</h1>

Is het mogelijk om de waarde in de h1 tag te behouden?
Dus dat:

Dit is een <h1>voorbeeld</h1> tekst.

word vervangen door:

Dit is een voorbeeld tekst.


\1 of $1 werkt niet..


Afbeeldingslocatie: http://www.linktrades.nl/ultraedit_regex.gif

[ Voor 24% gewijzigd door pim op 03-12-2003 12:32 ]


  • chem
  • Registratie: Oktober 2000
  • Laatst online: 27-08 13:53

chem

Reist de wereld rond

code:
1
<h1>(*)</h1>

toch?
De manual is daar heel duidelijk in...

Klaar voor een nieuwe uitdaging.


  • Kees
  • Registratie: Juni 1999
  • Laatst online: 14:05

Kees

Serveradmin / BOFH / DoC
code:
1
2
Find what: <h1>^(*^)</h1>
Replace with: ^1

Should do the trick

"Een serveradmin, voluit een serveradministrator, is dan weer een slavenbeheerder oftewel een slavendrijver" - Rataplan


  • pim
  • Registratie: Juli 2001
  • Laatst online: 03-09 15:08
Thanx kees.

In de manual zie ik het niet staan..

  • drm
  • Registratie: Februari 2001
  • Laatst online: 09-06-2025

drm

f0pc0dert

-> SA

Music is the pleasure the human mind experiences from counting without being aware that it is counting
~ Gottfried Leibniz