regex - Alternatives to Regular Expression for HTML -


i've seen on , over, , on , on , on over stack overflow regular expression not fit xhtml. haven't seen alternative.

most text editors have built in regex search , replace super easy use. well, except fact doesn't work html. there tool or language meant parsing and replacing xhtml? great if "find paragraph tags have class of "quote" within div class of "monkey", , add h2 tag "monkey quote" inside.

another example i'm struggling finding solution find words within paragraph tags , wrap span tag around them (for word-by-word highlighting audio). kind of stuff.

is there tool or language meant kind of thing?

from last comment, i'm assuming you'd useful command-line.

if so, answered pretty here:

grep , sed equivalent xml command line processing


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -