<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">Op 10-10-15 om 08:12 schreef Email
Terra Rhaufed:<br>
</div>
<blockquote cite="mid:1882d01d10322$b8154c70$283fe550$@terra.com.br"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EstiloDeEmail17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1"><span lang="EN-US"><o:p></o:p></span>
<p class="MsoNormal"><span lang="EN-US">Someone cam help me
understand regular expressions and drive me to where I can
learn how to put it in use? I feel it can solve a report
issue (I need to create a report not available) I have.</span></p>
</div>
</blockquote>
<br>
<br>
Ciao Rhaufed,<br>
<br>
Regular expressions are like smart filters. In stead of pointing to
one specific entry in a list, you are filtering out those your are
interested in. And you describe that filter using a regular
expression.<br>
<br>
Support you have a list of food items. And you are interested in
those that contain the word apple.<br>
Than you could use the regexp <b>/apple/</b>. This will match all
the words containing the word apple:<br>
- apple<br>
- apples<br>
- applejuice<br>
- pineapple<br>
<br>
If you are only interested in the items that start with the word
apple, you adapt the regexp. You add the ^ (carrot). The carrot
means: "start at the beginning of the pattern".<br>
Your regexp now looks like <b>/^apple/</b>.<br>
This regepx will match the words:<br>
- apple<br>
- apples<br>
- applejuice<br>
<br>
It will not match the word pineapple, as it does not start with
apple.<br>
<br>
The reverse is also true: you can use a regexp to match words that
end with apple. Than the regexp looks like <b>/apple$/</b>.<br>
This will match the words:<br>
- apple<br>
- pineapple<br>
<br>
<br>
Regexp are tricky. They can become pretty cryptic pretty soon.
Secondly, there is no one correct regexp implementation. For
instance, Perl regular expressions have more tokens and are more
powerful. So you need to know in advance which implementation is
used.<br>
<br>
For online help I can suggest : <a class="moz-txt-link-freetext" href="http://regexone.com/">http://regexone.com/</a><br>
That is the quickest way forward. After that, you just have to do it
and learn it the hard way :-D<br>
<br>
Good luck!<br>
Koos<br>
<br>
<br>
<br>
<br>
</body>
</html>