while(<DATA>){
print "$1$/" if /\((E\d+)/;
}
__DATA__
ID:8F03F770.3E6A0B05.00000200.5E0263D7,
(E00123),
(E00540),
(E00216),
(E00313),
(E00486),
(E00112),
(E00822),
(E00792),
(E00774),
(E00623),
(E00022),
(E00188),
(E00017),
(E00075),
(E00055),
ID:500460E9.BB25AD46.00000200.3E044511,
Should do the trick...assuming all your desired values match E then a number of digits....
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.