Extraction
Work on a String
Extraction
1
Extract the longest word(s) from a line (string).
2001.01.27
2
Extract the shortest word(s) from a line (string).
2001.01.27
3
Extract part from a given URL.
2001.05.18
4
Extract (1) hostname (2) domain name (3) last part from a FQDN.
2000.10.25
5
Extract user names only from e-mail addresses destined to some domain.
2003.11.04
6
Extract double-quoted strings from a line.
2000.10.25
7
Extract the 4-digit integers from a string.
2000.11.08
8
Extract every matched string.
2008.07.30
9
Remove redundant instances from a list.
2010.03.25
N
-th Match
1
Extract the
N
-th through
M
-th matches of PAT in a file.
2009.09.26
2
Extract contents between parentheses of depth
N
.
2009.11.14
3
Extract contents between parentheses of depth
N
, multiline version.
2009.12.09
HTML elements
with
end tags
1
Extract the contents of
N
-th elements with a given name in a line.
2009.10.01
HTML elements
without
end tags
1
Extract every
IMG
elements from an HTML file.
2009.09.18
2
Extract every
IMG
elements from an HTML file, with angle brackets properly processed.
2009.09.21
Multiline Issue
1
Extract every matched string outside comments.
2008.08.08