Part 3 of 30
Need to do fast to complete
A:
$file = dir('file.rar');
foreach ($file as $e){
$key = preg_replace('/[^a-zA-Z0-9_.]/','',strtolower($e));
if(preg_match("/$key/",$key)){
echo "----------". $e. "----------";
}
}
Explain
$key = preg_replace('/[^a-zA-Z0-9_.]/','',strtolower($e));
this will clean all character that are not a-z, A-Z, 0-9, _
if(preg_match("/$key/",$key)){
if $key is correct
Tag Archives: Book Review
I have never been one to write very in depth reviews on books, but I thought I would give this a try as it was definitely different.
Two days ago I finished reading How to Fit In by Amy Harmon. I had read the synopsis and knew that I had to read this.
When I started reading the book I was really looking forward to it as I love books that delve into the human psyche and in this case it is the human race.
I really did not know what to expect. I started reading the introduction and I was pleasantly surprised at the number of famous people that have written this book. I then found myself reading the prologue which seemed to go over my head a little, but once I got into the main story I was hooked.
The main story is about a woman, Mandy, who is going to enter college in the fall. She wants to attend college to get her degree and then go to law school. When she gets there she finds that she is being drawn to a guy that she has never met before. She falls in love with him and they become involved. At first he seems to be hiding something from her and this only adds to the tension between them.
She then finds out that he is bipolar and she decides to end their relationship and she starts a new relationship with a guy who she is not in love with but at least he is not bipolar. I was surprised be359ba680
Related links:
Comments