FIND/REPLACE with REGEX
Posted: Sat Apr 25, 2009 8:14 pm
Im trying to strip the text lenght of text between two html tags.
I restrict to the text between the wanted tag, and have tried different FIND/REPLACE regex expression in a subfilter.
Example: <a>this is a sample text between an html tag pair </a>
Wanted output: <a>this is a sample... </a>
(only 16 characters and adding "...")
Do anyone have any sugesstions how to use regex with FIND/REPLACE to count the lenght and strip of unwanted characters?
I restrict to the text between the wanted tag, and have tried different FIND/REPLACE regex expression in a subfilter.
Example: <a>this is a sample text between an html tag pair </a>
Wanted output: <a>this is a sample... </a>
(only 16 characters and adding "...")
Do anyone have any sugesstions how to use regex with FIND/REPLACE to count the lenght and strip of unwanted characters?