A pragmatic approach to Regular Expression

Ever wanted to search different email addresses in a long paragraph with just one special string or a word that started with a vowel or maybe URLs? If you are smart then definitely your answer is a yes. But the next question is how is it possible to search for different types of email addresses or URLs with just one single string? Regular expressions come to the rescue.

Regular expressions are an essential skill for any developer or computer programmer to have. They allow you to define text patterns that can be used for a variety of tasks. You can validate data submitted by users, your code can extract parts from longer strings, you can use them to convert data into a new format. …

Image for post
Image for post

Making a network call while you type in the search bar

Hey Folks! I am back with another brand new article on Flutter. This time I will be talking about a use case of RxDart in Flutter. In today’s world, every app has a search bar at the top of the screen as you type you would like to see the results instantaneously instead of typing and then pressing a button to fetch the results. So in this article, I will show you how we can retrieve results from the network as we type something in the search bar.


  1. Setting up the project
  2. Converting search query to result using RxDart
  3. Sharing the…

Image for post
Image for post

Testing BLoC and Repository in Flutter

Make your app’s features bullet-proof by testing them

Hi Folks! This is the last article for my series “Architect your Flutter project using BLoC pattern”. In this article, you will be learning another most important and critical part of software development i.e “Testing”. You will learn both Integration and Unit testing. This will help you deliver software that meets expectations and prevents unexpected results. So without further delay let’s write some test cases. 😄


  1. Creating the test directory
  2. Unit testing the 💻
  3. Integration testing the
  4. Running the test cases 🏃


As this article is part of a series. I expect you to go through the previous parts of the series(links below). This will help you understand the whole architecture of MyMovies app and what were changes made in different parts of the series. …


Sagar Suri

Google certified Android app developer | Flutter Developer | Computer Vision Engineer | Gamer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store