Regular Expressions
Strip HTML tags from a string $string =~ s/<([^>]|\n)*>//g ;
Strip leading spaces from a string $string =~ s/^\s+// ;
Strip trailing spaces from a string $string =~ s/\s+$// ;
0 TrackBacks
Listed below are links to blogs that reference this entry: Regular Expressions.
TrackBack URL for this entry: http://borisbrodsky.com/mt/mt-tb.cgi/8

Leave a comment