jump to navigation

Lenovo K3 Note (K50-t5) – Features, Specifications and Unboxing July 1, 2015

Posted by Bilal in Lenovo, Product.
Tags: , , , , , , , , , , , , ,
1 comment so far

Lenovo a Chinese company, founded in 1984 with headquarters in Beijing. It has got a diversified portfolio. It acquired IBM’s personal computer business in 2005. In 2002 Lenovo entered the smartphone market and as of 2014, it is the largest vendor of smartphones in Mainland China. Another big entry in its portfolio is one of the old famous mobile manufacturer, Motorola Mobility, which Lenovo acquired from Google in Oct 2014.

In spite of so much Chinese smart phone market shares, the contribution in international smart phone market is considerably less. Internationally, its shares in computer market (PC + laptop + Notebook etc) are more as compared to its share in smartphone market. To expand its coverage Lenovo has release a new series of smart phone named “K Series”. Currently available smartphone series of Lenovo are: Vibe, K, S, P and A

Lenovo_Smartphones_Stylish_Mobiles_PDAs_with_Android

Lenove Smartphone Series [Orignal]

These series are in descending order of their quality, performance and value. If a phone is of lower series, it does not mean that its price will be less than higher series. Some devices excel only in certain aspects as per their target market. Another factor about the series is the availability of firmware update support. Since Android M has already been announced while Android L has not got proper reach, this factor gains more importance than it is usually given.

I got my Lenovo K3 Note from the UAE based online store KingSouq.com. The product was shipped from Hong Kong vai Dubai and it was delivered to me in Jeddah via Aramex. It took almost 10 days for the delivery (later orders took 12 – 15 days).

After all this background + history, I come to the core part, the specification of the device.

Lenovo K3 Note White & Yellow

Lenovo K3 Note White & Yellow (Credits)

It is an Octa Core device with 64 bit MT6752 chipest clocked at 1.7GHz. It supports dual SIM with one 4G LTE support. The screen size is 5.5” which offer  FULL HD (1080×1920) display at 401ppi. The RAM is 2 GB and internal storage is 16 GB with up to 32 GB SD card support. The primary camera is 13 MP with auto focus, dual-LED flash and FULL HD video support. The secondary camera is 5 MP with touch focus and face detection options.

Lenovo K3 Note K50-t5

All this is packed inside a slim and sleek body of 152.6 x 76.2 x 8 mm with a surprisingly less weight of 150 gm. Did I mention, that the big 3000 mAh battery, which is removable, is included in this weight. It is also got FM radio and the charging cable provides a fast charge. There is no port on the bottom side of the device. The audio as well as USB port is located on the top. To insert the SIM / SD card, you to remove the cover as well as the battery.

The device is available in White and Yellow colors. There is also a lower edition of the device Lenovo K3 (without Note). It has got a 5.0” screen with 1 GB RAM, 13 MP primary camera, HD display and no gyro sensor. Also, the battery is less i.e. 2300 mAh. The price difference may be less as compared to the specification difference. So, be careful while proceeding with the purchase.

The first device that I received was loaded with a pre-rooted version of Android 5.0. If you want more technical details, it was VIBE UI 2.5 and the build version was 1512 [VIBEUI_v2.5_1512_5.495.1_ST_K50-T5]. Here is the un-boxing video of it (available in FULL HD also):

The other devices that I got later (on behalf of friends and colleagues) was having a different version of the firmware 11520 [VIBEUI_v2.5_11520_5.827.1_ST_K50-T5]. Unfortunately, it has also got some Chinese bloatware. Don’t worry, it is easy to get rid of it. I will try to write a separate post for this. For the time being, you can download the Titanium Backup from the play store and uninstall them (after taking a full backup).

VIBE UI is the interface engine by Lenovo. It offers a smooth and colorful interface with nice options. A plus for VIBE UI is SafeCenter app which is like the firewall for your device. It tries to fill this missing piece from the Android (although Android M has been announced to provide it natively). It is also loaded with the Maxx Audio sound engine.

P.S.:-

If you are curious about the QR code on the back of the box, it decodes to: Lenovo Mobile. The site is in Chinese and it (probably) this is the product of your interest. Don’t forget, Google Translate is your best friend in need.

Advertisements

Human Centric Intelligent Society February 2, 2015

Posted by Bilal in Fujitsu LIFEBOOK T904.
Tags: , , , , , , , , , ,
add a comment

After so much technical development we are now at a stage where there is a paradigm change from the product to user. The product development has gone too far/mature that now product is no more the focus. Now the spot light is on the user, the human, which will eventually lead to a human centric society, the intelligent society. Below we will try to have a look on few of these examples.

Software Development

Being a development person, I will begin with the application development. The trend in the software development was to implement the required functionality and then train the users as per the design. This application development has gone too far that now almost all the competitive applications/product have almost the same features. So to attract the users/customers they have updated their strategy and they try to make the application as user friendly as possible. A very recent example is the Start Button/Menu in Microsoft Windows. After decades of usage, Microsoft tried to make a change and in Windows 8 they ditched the start menu for the start screen. This missing option along with the redefined Metro Style got a very negative response and Windows 8 got a very low adaptation rate. They tried to overcome this in Windows 8.1 by adding a start button only. This was a slight change which let the negative impression to get decrease. Now based on the much stronger user demand and feedback, Start Menu will be available in Windows 10. The preview of Windows 10 is available for free download and critics are praising it very much. It is expected that all those users who have not adopted Windows 8/8.1 will jump directly to Windows 10.

start-menu-windows-10Start Menu in Windows 10 [PCWorld]

Modular Phones

How many times you have wanted to upgrade a portion of your phone, it could be the processor chip or simply it could be the storage chip but every time you end up in purchasing a new phone as you have no other choice. Now, this thing is in progress and will be common in near future. Many independent companies have started with this goal to provide users a custom built phone. Based on the potential of this idea, the tech gain Google is also heading for such custom built modular phone: Meet Project Ara, the Modular Google Phone of the Future.

google-project-araGoogle Project Ara [Time]

Wearables

It started with smart watches and it has reached to health kits. With the passage of time these devices will be transferred from the accessory grade to the necessity grade. When we talk about wearables, there is a lot of variety available i.e. smart glass, smart clothing, smart band, smart shoes etc. Consider an example of a band attached to the wrist of a patient and transmitting the patient stats via built-in WiFi module to the Dr. in the hospital.

Wearable_DevicesWearable Devices [Atmel]

Bio Stamps

Even though wearable gadgets have been around for quite long they are still popular in common people. In the meantime, there is a completely innovative stuff in the market which totally remove the external stuff and the only product is you i.e. human. A stamp will be marked on the human which will do the job. You can simply consider Bio Stamp as a Digital Tattoo. A small radio frequency identification (RFID) chip is implanted under the skin in the hand. This approach is in very early stages but it has the maximum potential.

Digital_TattoDigital Tattoo [BBC]

Similarly, if we explore, we can a lot of scenarios where the human factor is dominating all the other aspect of the product/application. The combination of IOT (internet of things) with the human centric approach will lead the technical development spectrum in the days ahead.

Fujitsu Lifebook T904 – Your All Time Companion February 1, 2015

Posted by Bilal in Fujitsu LIFEBOOK T904.
Tags: , , , , , , , ,
add a comment

A very common requirement for the current era is the flexibility of the work location. It could be a requirement or a desire or an opportunity to work from any location. To work from any place you should have a continuous access to the internet. Still in 2015, we are not having internet connectivity available every where. You may find WiFi hotspots at some place and at some other places, you may be out luck. If you are a proud owner of Fujitsu Lifebook T904 2in1, you will never find yourself out of luck. It comes with a built-in 4G modules that enables you to stay connected on the go.

Fujitsu_Lifebook_T904_2in1_in_OfficeLet me elaborate the statement that I mentioned earlier. For marketing and sales staff to be able to work from any where specially at the client premiss is a usual requirement. They can not afford to have partial information available on the move and the rest of the information back at their desks in the office. If anyone is still having this kind of habit, my friend, he/she is happily planning to run out of business/clients.

For rest of the folk, to have the flexibility to work from the place of their choice is a luxury which is still not very common, although we hope that due to its positive effect on the productivity, it will get gradually more acceptable. There are many possibilities for it, a very simple is just to do your official work in the comfort of your home. Another typical scenario could be the blocked roads due to rough weather and by working from home, the person will not be having tough time meeting the deadlines.

The third category mentioned is the opportunity to work from any where. To go for formal approach for every problem is not always beneficial. Some of times, the informal way is the best solution to resolve it i.e. inseated of writing bundles of email to resolve an issue with a colleague, you simply grab your Lifebook and accompany him/her to the lunch and settle the issue before the meal is over. In the same way, by having some informal discussion with a prospective client over a cup of tea/coffee, you can negotiate for the requirements and grab the opportunity. On the other hand, you can jump out from your robotic routine and have some fun time at any place either it is an open air spot or your favorite coffee shop.

In any of the case, Lifebook T904 will not let you down, it will be with you as a reliable partner. Its 4G module can connect you to the rest of the world even at odd circumstances. Its energy efficient processor and long lasting battery will be there to take you out from the tough scenarios.

I, personally fall in the third category. In my work environment, the chances of working remotely are not so frequent. I avail the opportunity to spend some leisure time with my Lifebook at a very nice coffee shop. It has got a variety of hot and cold Italian coffees with a nice ambiance. Although, they provide the WiFi hotspot, for dealing with personal stuff, I prefer to use the 4G data capabilities of my Lifebook as public WiFi connections are prone to hacking and spoofing. Its tablet mode is very suitable for reading while we can avail the comfort of physical keyboard for extensive writing.

photo_2015-02-01_22-18-33

The location screenshot via here maps:

photo_2015-02-01_21-03-30

So folks you enjoy reading online, I am going to have some chill time with my Fujitsu Lifebook T904 2in1:

#Fujitsu #Lifebook #T904 a perfect companion with built-in 4G module.

A post shared by Bilal Haider (@bhaider7) on

Power Up Fujitsu Lifebook T904 with Docking Station January 29, 2015

Posted by Bilal in Fujitsu LIFEBOOK T904.
Tags: , , , , , ,
add a comment

Fujitsu LIFEBOOK T904 2in1 comes with an in-box docking station [ or port replicator ] i.e. it is the part of the T904 box and not something that you have to purchase separately.

LIFEBOOK T904 has got the basic/required set of the built-in ports. These ports are distributed on the right and left sides of the device.

On the left side, it has got these ports:

  • DC-in
  • Kensington Lock support
  • USB 3.0 with Anytime USB charge functionality
  • Memory Card Slot
  • Smart Card Slot

On the right side, it has got these ports:

  • Stylus Housing
  • Pull-Out LAN Card
  • Pull-Up Power Button
  • HDMI
  • USB 3.0
  • Combo Auxiliary Port (Microphone + Speaker)

There is another very important port which is not available externally/directly. The SIM card slot is located inside the battery compartment which is accessible after removing the battery.

All this stuff is suitable for common use but what if you have some other/special requirements i.e. you want to connect your VGA LCD or you want to connect other peripherals via USB? You don’t need to worry or go for purchasing USB extension or other connects, here the docking station comes to your rescue.

As mentioned earlier, it comes in the T904 Box. The ports available with the docking station are:

  • Power Button
  • Kensington Lock support
  • 4 x USB 3.0
  • LAN Connector RJ45
  • HDMI
  • Digital VGA
  • VGA
  • Kensington Lock support

Fujitsu Lifebook T904 Docking Station and Port ReplicatorHere is a vine showing all the three modes of T904 i.e. normal, docked, and tablet:

Although due to the improved design, Lifebook T904 produces heat less than normal, using a docking station has an additional benefit. When the machine is docked, its position becomes slightly raised from the back which provides room for better ventilation. Please note, if you are doing some very heavy and resource expensive task, for the longer life of device and your own safety, it is recommended to use dedicated cooling stands with the device.

#Fujitsu #Lifebook #T904 docked in port replicator #MasterYourBiz #MYB

A post shared by Bilal Haider (@bhaider7) on

I have two displays at my work. I tried to connect both to the docking station but due to the port difference, it was not possible:

Fujitsu Lifebook T904 Docked 1 LCD WorkingThe digital VGA (DVI) adapters available are of different model than the model of the DVI female in the docking station:

Digital VGA or DVI Connector VariationI will try to lookout in the local market to find the required adapter so that I can utilize the full options of docking station for my Fujitsu LIFEBOOK T904.

OnePlus One (The Flagship Killer) – Unboxing and Brief Review from Saudi Arabia January 1, 2015

Posted by Bilal in Product.
Tags: , , , , , , , , , , , ,
12 comments

OnePlusOne aka OPO has been a topic of hot debate since its announcement in April 2014. It has got a ton of features like any other top brand flagship device BUT with almost half of its price. It has got the tagline The Flagship Killer and the motto is Never Settle and it totally justifies the both.

Oneplus One Official Image(Source: OnePlus One Official Page)

The interesting thing is you can not directly purchase it online or from any retail outlet but you need an invitation to order it online from the official site. There are some resellers which are selling it in the online stores with a little higher price but they are selling the Chinese Model/Version which is almost the same as Global model but with less support for network bands. So, if anyone directs you to such store or you, in frustration (yes it is quite frustrating) of not getting any invite, decide to purchase from such store; make sure your required network bands are available in that model.

In a nutshell, it has got a Qualcomm Snapdragon 801 processor with 2.5GHz Quad-core CPUs, 3GB of DDR3 RAM, 5.5 inch screen with Corning Gorilla Glass 3 protection, a large 3100mAh LiPo battery, 13 megapixel Sony Exmor 6 Lens Camera, full support for LTE network all in a body of weight 162g. The display is Full HD and the camera is capable of a 4K video recording, yes you read it correct, 4K resolution (i.e. equivalent to 2160p). Full specifications are available here: OnePlus Official Specification.

My interest in OPO is partially for something else, its operating system. Currently has got android 4.4 KitKat which is neither the stock/official one (like Nexus devices) nor the OEM bloated one (like Samsung, HTC etc.) but it has got a custom firmware Cyanogen Mod aka CM. As per the official statement:

Powered by Android™, Cyanogen brings the features you love while giving you the freedom to mold your mobile domain. Options like Quiet Hours, an enhanced home screen, and a configurable Quick Settings panel are just a few ways you can control how you and your One connect. (Link)

You can read more about CM and OPO on their page: OnePlus One with CM. Being an iPhone user since early 2010 and a hardcore jailbreaker user of the iOS, I want to try some other platform that supports customization and OnePlus One is the answer. You can read my post based on the experience of purchasing my first iPhone 3GS back in 2010 when iPhone was a phone not just a status symbol in the country (those days, BlackBerry was the craze among the local youths). The comparison of both is far beyond the scope of this post, it deserves a separate post.

OPO is currently available in selected countries only and unfortunately Saudi Arabia (SA) is not among these countries. In order to get it here in SA I have to utilize the services of a mail forwarder. I already have the lifetime membership of Aramex ShopAndShip and I utilized it for ordering the device. It got some (minor) disadvantages beside the additional cost but at-least I got the device. Below are some images of the Aramex package and its details.

This slideshow requires JavaScript.

OnePlus One is available in two storage capacities 16 GB silk white [ 299$ ] and 64 GB sandstone black [ 349 $ ]. I ordered a 64 GB device and I am still exploring it (yes, its too much to explore and try). So, here you can get the un-boxing video (also available in Full HD resolution):

After reading and watching this much, most probably you will be interested to know more about the device (and if you have come so far, you are definitely interested). I am going to share some of the notable reviews and overviews about the OnePlus One:

If you are interested in purchasing the device and wondering where u can look for invites, here are a few possible solutions.

  • Look for hash tag related to OnePlus and invites on Twitter (I got mine from there)
  • The OnePlus One forum at reddit (its very active yet extremely competitive)
  •  Any one in friends or family who would have got this device
  • Post your info below and I can send the invites when I receive one (issued officially on periodic basis as per the inventory)

In the last, Happy New Year Readers. Its the start of another new year, hope you work hard to achieve your goals and may all your wishes come true.

Fujitsu LIFEBOOK T904 – Advanced Protection with Multilayer Security December 7, 2014

Posted by Bilal in Fujitsu LIFEBOOK T904.
Tags: , , , , , , , , , , , , ,
add a comment

In the era of digital world, where we are rapidly moving toward Web 3.0, each and every part of our lives is becoming digital. Starting from our personal date, though our financial records to the corporate information, which, sometimes we are even bound by a NDA (Non-Disclosure-Agreement); everything is stored on our personal/official devices. Depending upon the value of the information, we try to protect it accordingly. These days a very common practice for enhanced security is Two Factor Authentication where a code is generated through a device or sent as SMS to be used after the regular password.

Security Features in LIFEBOOK T904

Fujitsu Lifebook T904 provide a variety of software + hardware based solutions for multilayer security:

  • Advanced Theft Protection (Intro, Video)
  • Fingerprint Sensor
  • SmartCard Reader
  • OPAL encrypted drives.

This is to be noted that as early as 2009, Fujitsu has developed hard disk drive security technology based on Opal SSC Standards. If you are interested to read more about this, you can find it here: Opal Storage Specification

Workplace Protect

Fujitsu has developed a dedicated software to handle multiple layers of protection. The good thing is even if you are currently not a Fujitsu customer and you are considering this option, you can try this software on other devices also. Have a look on its simple yet powerful interface:

Fujitsu LIFEBOOK T904 Workplace Protect - Enroll Finger

It is an extensive application which offers finger-print verification even at BIOS level (pre-boot authentication). I have recorded a video to explore this software. I have also included the process to enroll a finger for bio-metric verification. Here we go with the video:

As you have seen in the video, it also supports face verification. It has not been included in the video deliberately as it has been left for the viewers to try and explore. To know more and download proceed to this link: Workplace Protect & Workplace Manager- Secure Authentication Solutions

Unlock Windows Using Bio-Metric Verification

To demonstrate how simple and easy it is to use the bio-metric verification to unlock windows using the finger print sensor, here is a vine:

If you are interested to know, how the biometric verification works for Windows sign-in, you can check the video below. This video has already been shared in the previous article: Fujitsu Lifebook T904 (2 in 1) – Boot Up, Specifications & Review.

Fujitsu Lifebook T904 (2 in 1) – Boot Up, Specifications & Review December 5, 2014

Posted by Bilal in Fujitsu LIFEBOOK T904.
1 comment so far

In the last post, we have done the unboxing of Fujitsu Lifebook T904, now we are going to explore it further. LIFEBOOK T904 has got a very powerful combination of the specifications which make it a quick response device. I have made a video to show the 2in1 tablet mode and to check its boot-up time (with all the default stuff loading at start-up):

Salient Specifications:

LIFEBOOK T904 comes in different combination of the specs. Below are some of the prominent specifications of the device under test:

  • Display: 13.3-inch Quad HD, 1440p, 2560×1440, 16:9 screen, pen and touch input supported
  • Processor: Intel Core i7 (4th Gen) 2.70 GHz
  • RAM: 8 GB DDR3 (single module)
  • Hard Disk: 256 GB, SSD, OPAL capable
  • Sensors: 3-axis, Accelerometer, Gyroscope, Ambient Light Sensor, Magnetic Field Sensor
  • Others: Pull-out LAN Card, SIM Card Slot, Smart Card Slot, Finger Print Reader, Full HD Camera

Here is the screenshot of the system properties:

Fujitsu LIFEBOOK T904 System Properties

Microsoft has removed the Windows Experience Index (WEI) from Windows 8.1. Although it is not an absolute measure for the device, it was good for relative comparison of devices. I have used 3rd Party tools and got the WEI just to get a relative overview of the device.

Fujitsu LIFEBOOK T904 Win Experience Index (WEI)From the WEI, we can see that the lack of dedicated graphics card caused the decrease in score. Also notice the higher score for the hard disk data transfer.

For full details about the possible specifications of LIFEBOOK T904, please refer to the official Fujitsu LIFEBOOK T904 Specification and Fujitsu LIFEBOOK T904 Official Home Page.

Storage Media Details

As mentioned above, Fujitsu LIFEBOOK T904 has a SSD of 250 GB. The operating system comes with a single visible drive of about 221 GB out of which about 30 GB is consumed by the pre-loaded stuff (Windows 8.1 Pro, other OEM software and drivers). Rest of the space is reserved for recovery and other system activities. The details of the hard disk’s partitions is as below:

Fujitsu LIFEBOOK T904 Default hard disk division

Review & Comments

Based on my current limited experience with LIFEBOOK T904, below are the good and not-so-good points about it:

Pros:

  • Sleek Aluminum body with semi glaze and mat finish
  • Dual Microphone
  • Stereo Speaker
  • Large Touch-pad
  • Dock Station for port extension

Cons:

  • Keyboard gives a plastic feel
  • Maximum loudness of speakers is quite low
  • The size of the device appears as slightly big
  • With this much size, extra function/multimedia keys are expected.

I have got a little time with the LIFEBOOK and I am exploring it further. In the coming days I will be writing on other aspects of this wonderful device. Hope it will be a good experience.

Unboxing Fujitsu Lifebook T904 December 4, 2014

Posted by Bilal in Fujitsu LIFEBOOK T904.
Tags: , , , , , ,
1 comment so far

Hello All!

Finally we are here with the first and the basic task of unboxing the Fujitsu LIFEBOOK T904. My device has been delayed due to logistics and when it reached to me it’s only the device box and not the usual fully loaded insider box with other goodies. The device has got a wonderful docking station and it’s my good luck that it is provided as inside-box accessory else I would have badly missed it (along with outside-box accessories).

Anyhow, the unboxing has been done and it’s a charm to have such a distinct device. So here you go with the unboxing video:

This device is so much loaded that it requires a separate video to explore its general features and specifications. This activity is already in progress and will be shared soon.

Update:

The new stuff is available here: Fujitsu Lifebook T904 – Specs & Review

Master Your Business With Fujitsu LIFEBOOK T904 November 29, 2014

Posted by Bilal in Fujitsu LIFEBOOK T904, Product.
Tags: , , , , ,
add a comment

It has been quite a long time I made posts on regular basis. Among many other factors, I have started the post graduate studies and now Alhumdulillah [All Praise to God], its the 3rd semester. During this semester I have got 3 modules as compared to the 4 modules of the previous semesters. I expect to devote some of this time on regular basis for writing the posts.

Another good news is that I have again got the opportunity to participate as a Fujitsu Insider. It is a campaign in which 24 international bloggers are selected to {acid} test the new products. Previously, the theme of the campaign was Ultra Test Flight. My articles for that can campaign are available here [ Ultra Test Flight by Fujitsu ]. This year the title of the campaign is [ Master Your Business ]. The test devices this year are:

The main topics are the slim, durable design, the flexibility and convertibility of 2-in-1 devices and the vision of a Human Centric Intelligent Society.

In the coming days, I will be exploring Fujitsu Lifebook T904. Lifebook is the brand name for Fujitsu Ultrabooks. They are aimed for slim design, extra battery timing and less weight without compromising for the performance. Here is the official image of the device:

LIFEBOOK-T904-official

My profile for the project is available here [ Bilal Haider – Fujitsu Insider From Jeddah Saudi Arabia ]. The project has been active since 6th of November. Unfortunately, my device has been delayed due to custom but anyhow it has arrived. I have done the unboxing video and right now, the upload is in progress. For the teaser, here is the picture of the package that I received:

Fujitsu Lifebook T904 - DHL PackageStay tuned for some fun and excitement.

Delete Lines Having Specific Words Using Notepad++ August 6, 2014

Posted by Bilal in Tips & Tricks.
Tags: ,
add a comment

Lets take an example of a custom logging system by avoiding the complexities of hooking in Windows Event Log. Sometimes we came across a situation where we need to log an event just for temporary information but it is not required to be recorded permanently. After a specific period we review the log file and keep a clean separate copy. We want to remove all the FOR INFORMATION blocks and keep the required text. For huge files, it is very tiresome and total wastage of time.

Notepad++ is a very simple yet extremely powerful text editor. Actually it is much more than a text editor, it has existed for long and still being updated on regular basis. Above all its an open-source freeware. The product review of Notepad++ is not the topic of the post, I shall try to explain it in a single line:

The comparison of Notepad++ to (windows) Notepad is similar to the comparison of Internet Explorer 6 to Firefox

Yes, its expandable like Firefox. You can get a lot of plugins to ease your task. A plugin manager is included in Notepad++ and you can get up-to-date information about the plugins from there.

Notepad++ With Plugin Manager

Notepad++ With Plugin Manager

So, back to our main point, removing duplicate data. Notepad++ allows an extending Find and Replace dialog:

Notepad++ Find & Replace Dialog

Notepad++ Find & Replace Dialog

The default behavior of the Find & Replace dialog is similar to the native windows experience. To go beyond that, there are other option. At the bottom of dialog is the option named Regular expression. Regular expression means a combination of characters that form a pattern. You can read more on this Wikipedia page.

In our case, we are going to use regular expressions to find the required data that meets our search pattern. Lets have a look on the most simple case.

Sample Log 1

The log file contains the repeated message Failure sending mail. which could be due to the broken link to the SMTP Server or the error with SMTS itself or any other reason. Now, this message is required for information only and we do not want to preserve it. Consider a log file of thousands of record which is revised quarterly ( or any other period ) having a huge number of records.

Now, our requirement are

  • Delete the message Failure sending mail.
  • Delete the time stamp associated with it       AND
  • Clear the blank row created after removing the text

To achieve this goal, we will open the Replace dialog (  Ctrl + H shortcut also works here ), select the Regular Expression mode, keep the replace area blank ( we want to remove the rows) and mention this expression in the find area:

(.*)(Failure sending mail.)\r\n

Parentheses ( ) are not compulsory, they have been used for readability. The expression has three parts

  1. (.*)
  2. (Failure sending mail.)
  3. \r\n

The first part specifies all the text, second part species the redundant message text and the last part specify the carriage return and line feed. \r\n are special characters that mark the end of the line. Their detail is beyond the scope of the article. You can check them individually on their referenced wiki pages. When these three parts are combined the search criteria becomes

Search for all the text before the redundant message and it should be at the end of line.

Lets have a look on a little complex case:

Sample Log 2

In our first regular expression we specified the condition that the redundant message should be at the end of line. Now, row 18, 21 and 25, although containing the same text, does not meet the search criteria. For this kind of situation we update our regular expression:

(.*)(Failure sending mail.)(.*)\r\n

Here, we have revise the search criteria and added another blind search expression after the redundant message. Now, our search criteria will cover both type of the redundant messages.

It is just a very tiny touch to the power of regular expression. Using the syntax of regular expressions, we can make as many combinations as we need. An extensive and simple getting started guide for regular expression is available here.

Please remember, the expressions used in the examples are one of the possible methods to achieve the desired goal. Other combinations can be built to achieve the same goal.