Regularexpressionsareusedbymanytexteditors,utilities,andprogramminglanguagestosearchandmanipulatetextbasedonpatterns.TheyareconsideredtheSwissarmyknifeoftextprocessing.Powerfulsearch,replacement,extractionandvalidationofstrings,repetitiveandcomplextasksarereducedtoasimplepatternusingr