Wednesday, February 16, 2011

Removing specific HTML tags with Regular Expressions

matches start tag of specific tag including attributes

<\s*span.*?>



The above expression can be very helpful to strip out unwanted <span> tags.

via: Regular Expressions to strip HTML tags - www.pagecolumn.com

No comments:

Post a Comment

Only comments in English will be considered. Thank you!