{"id":13292248,"url":"https://github.com/ImAyrix/er","last_synced_at":"2025-03-10T07:32:52.573Z","repository":{"id":152306897,"uuid":"625670486","full_name":"ImAyrix/er","owner":"ImAyrix","description":"😁 Easy Regex","archived":false,"fork":false,"pushed_at":"2023-04-09T22:04:24.000Z","size":7,"stargazers_count":21,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-06-28T00:04:10.087Z","etag":null,"topics":["bug-bounty","bugbounty","cli","golang","regex"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ImAyrix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-09T20:29:12.000Z","updated_at":"2023-06-11T16:21:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"f10778d5-d62c-439b-8bd7-dd67026c2daf","html_url":"https://github.com/ImAyrix/er","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImAyrix%2Fer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImAyrix%2Fer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImAyrix%2Fer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImAyrix%2Fer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ImAyrix","download_url":"https://codeload.github.com/ImAyrix/er/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242811845,"owners_count":20189139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bug-bounty","bugbounty","cli","golang","regex"],"created_at":"2024-07-29T17:07:40.332Z","updated_at":"2025-03-10T07:32:52.566Z","avatar_url":"https://github.com/ImAyrix.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch3 align=\"center\"\u003e Easy Regex \u003c/h3\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#usage-examples\"\u003eUsage Examples\u003c/a\u003e •\n  \u003ca href=\"#usage-parameters\"\u003eUsage Parameters\u003c/a\u003e •\n  \u003ca href=\"#installation\"\u003eInstall\u003c/a\u003e •\n  \u003ca href=\"https://t.me/ImAyrix\"\u003eContact me\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n\"Easy Regex\" is a valuable and straightforward tool that takes your regular expression and displays the matched parts of the text in the output. Give it a try and witness its usefulness in action.\n\n## Usage Examples\nSuppose we possess a file that encompasses a plethora of information, comprising ASN numbers. Our objective is to extract solely the ASN numbers. Let us witness how our tool accomplishes this task for us... \n\n```\n▶ cat things.txt\nThe foremost ASN, AS11111, reigns supreme while the second in line, AS2222, follows closely behind.\nAdditionally, we possess another noteworthy ASN number - AS3333.\n\n▶ cat things.txt | er -r \"AS\\d+\"\nAS11111\nAS2222\nAS3333\n\n▶ cat things.txt | er -r \"AS(\\d+)\" -g 1\n11111\n2222\n3333\n```\n\n## Usage Parameters\n```\n  -r string\n        Your regex [e.g: ^\\w+]\n  -g int\n        Group number\n  -h    Help, show usage parameters\n\n```\n\n## Installation\n```\ngo install github.com/ImAyrix/er@latest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FImAyrix%2Fer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FImAyrix%2Fer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FImAyrix%2Fer/lists"}