{"id":23317020,"url":"https://github.com/tahmid-tanzim/regular-expression","last_synced_at":"2026-01-19T23:01:46.484Z","repository":{"id":145802080,"uuid":"226499766","full_name":"tahmid-tanzim/regular-expression","owner":"tahmid-tanzim","description":"Learning Regular Expressions by Kevin Skoglund","archived":false,"fork":false,"pushed_at":"2021-09-09T07:37:17.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T08:39:05.782Z","etag":null,"topics":["pattern-matching","regex","regex-pattern","regular-expression"],"latest_commit_sha":null,"homepage":"https://www.linkedin.com/learning/learning-regular-expressions-2","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tahmid-tanzim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-12-07T11:24:41.000Z","updated_at":"2021-09-09T07:37:21.000Z","dependencies_parsed_at":"2024-03-31T05:45:52.743Z","dependency_job_id":null,"html_url":"https://github.com/tahmid-tanzim/regular-expression","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tahmid-tanzim%2Fregular-expression","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tahmid-tanzim%2Fregular-expression/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tahmid-tanzim%2Fregular-expression/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tahmid-tanzim%2Fregular-expression/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tahmid-tanzim","download_url":"https://codeload.github.com/tahmid-tanzim/regular-expression/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247589832,"owners_count":20963022,"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":["pattern-matching","regex","regex-pattern","regular-expression"],"created_at":"2024-12-20T16:18:57.303Z","updated_at":"2026-01-19T23:01:46.387Z","avatar_url":"https://github.com/tahmid-tanzim.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Regular Expression\n\n### Online Regular Expression Engine\n1. [https://regexr.com/](https://regexr.com/)\n2. [https://regex101.com/](https://regex101.com/)\n3. [https://www.regexpal.com/](https://www.regexpal.com/)\n\n### Metacharacter\n* Wildcard Metacharacter\n* Escaping Metacharacter\n  * dot (\\\\.)\n  * forward slash (\\\\/)\n* Special Characters\n  * Spaces\n  * Tabs (\\t)\n  * Line Return (\\r, \\n, \\r\\n)\n\n### Character Sets \n* `\\d` = [0-9]\n* `\\w` = [a-zA-Z0-9]\n* `\\D` = [^0-9]\n* `\\W` = [^a-zA-Z0-9]\n* `\\s` = [\\r\\n\\t\\f]\n\n### Repetition Metacharacters\n1. `*` Zero or more times\n2. `+` One or more times\n3. `?` Zero or one time\n\n### Quantified Repetition\n1. `\\d{0,}` is same as `\\d*`\n2. `\\d{1,}` is same as `\\d+`\n3. `\\d{3}-\\d{3}-\\d{4}` matches most US phone numbers\n4. `/^(\\+88)?01[76598]\\d{8}$/g` matches most Bangladeshi mobile phone numbers\n\n### Greedy expression vs Lazy expression\n\n* [https://javascript.info/regexp-greedy-and-lazy](https://javascript.info/regexp-greedy-and-lazy)\n* [https://medium.com/@318097/greedy-lazy-match-in-regular-expression-35ce8eca4060](https://medium.com/@318097/greedy-lazy-match-in-regular-expression-35ce8eca4060)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftahmid-tanzim%2Fregular-expression","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftahmid-tanzim%2Fregular-expression","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftahmid-tanzim%2Fregular-expression/lists"}