Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 50107

Transforming a marked text

$
0
0
Hi

It is possible I misunderstood something and what I wish to do is not possible.

I marked -yellow highligh- short pieces of text (of variable length), one for each html file, about 30 overall, and I intended to give them a specific span (i'ts for the small text which follows a drop-cap and is usually wirtten in small-caps).

Though it is possible to select "marked text" (like "all text files") I do not know how to write what I wish to do in the fields Search and Replace.

It seems I can't write something like this:

<marked text> (nor the usual (.*?))
<span class="smcp">\1</span>

I know I can perform, for all marked text, a standard regex, changing a tag for another one, but this is slightly different.

Viewing all articles
Browse latest Browse all 50107

Latest Images

Trending Articles



Latest Images