RegEx - Strip HTML/XML Tags





Doação

Blogger
What you like to you see in this page? It sends its suggestion.

RegEx - Strip HTML/XML Tags

Removing/withdrawing all markings HTML/XML of a text by the by Regular Expression (regex)


You sometime wanted to you removed all the tags HTML of a text? There is many reasons for want to you do this. By example, if you will want to you send only the text of a page by email that does not accept format HTML.

The marking is:
\<[^\>] *\>
You can utilize inside text editors, as the EditPlus or Notepad + +, this regular expression (Regular Expression) for remove the tags.

It follows down an example in Perl:
#!/usr/bin/perl $t =&quot;<x>ok</x><pp/><tt>shale</tt>&quot; ;$t=~s/\<[^\>]*\>//g;;print&quot; $t\n&quot;;

Add Favorites / Bookmark
it import in the delicious






Free domain!

Lodging of Free Pages

Backup Online Free

Exhibitors:

Poker Rules

Poker

colors html
webdesign
poker of grace
it import in the delicious



Bookmark it to you:


RegEx - Strip HTML/XML Tags

Removing/withdrawing all markings HTML/XML of a text by the by Regular Expression (regex)






CID10: a09 b34_9 c18_9 c44_9 c61 c73 f06_8 f19 f20_0 f29 f31_8 f31_9 f32 f32_0 f32_2 f33_1 f40_9 f41_1 f41_9 f42_2 f43_1 f43_2 f60_3 f71_0 f72 f72_8 f84_0 f90_1 i10 j18 m19_0 m25_5 m41_1 m46_9 m47_2 m47_8 m48_0 m50_1 m53_1 m54_1 m54_4 m54_5 m65 m75_1 m75_2 m77_1 m79_0 m79_1 n60_2 n87_1 q90 r42 s60_0 z31_0 z43_1 z43_5 z54_0 CID-10