basic regular expression to replace tags/format text

In Bearbeitung Veröffentlicht Nov 17, 2012 Bezahlt bei Lieferung
In Bearbeitung Bezahlt bei Lieferung

hello, i need some good with regular expressions who can create a regular expression which will be used in php (function preg_replace) to replace:

this is some text : <a href="[url removed, login to view] . php" target=" _blank"> [url removed, login to view] . php </ a> more text

to :

this is some text : <a href="[url removed, login to view]" target="_blank">[url removed, login to view]</a> more text

Note: basically remove white spaces within the tags, note that this needs to be open for other tags too (nut just "a" tags)

thanks

jo

PHP Softwarearchitektur Testen von Software Web Hosting Website-Management Testen von Webseiten

Projekt-ID: #2675961

Über das Projekt

5 Vorschläge Remote Projekt Aktiv Nov 22, 2012