I have the following string:
$str = " r a n d ...om ";
How do I get the HTML for the first n-th tags?
Ex : n = 3 ; result = "r<...>n;
I would like a regexp if possible.
No comments:
Post a Comment