{"id":29701403,"url":"https://github.com/theholyonez/regex-pattern","last_synced_at":"2026-02-14T22:33:11.603Z","repository":{"id":295707772,"uuid":"990981883","full_name":"TheHolyOneZ/Regex-Pattern","owner":"TheHolyOneZ","description":"Regex Patterns for: html,css,js,xml blah blah blah","archived":false,"fork":false,"pushed_at":"2025-07-15T17:39:44.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-08T23:03:45.679Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/TheHolyOneZ.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,"zenodo":null}},"created_at":"2025-05-27T00:26:14.000Z","updated_at":"2025-07-15T17:39:47.000Z","dependencies_parsed_at":"2025-05-27T01:32:17.248Z","dependency_job_id":"5faaf690-fec8-4071-a7e7-962781065f19","html_url":"https://github.com/TheHolyOneZ/Regex-Pattern","commit_stats":null,"previous_names":["theholyonez/regex-pattern"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheHolyOneZ/Regex-Pattern","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheHolyOneZ%2FRegex-Pattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheHolyOneZ%2FRegex-Pattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheHolyOneZ%2FRegex-Pattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheHolyOneZ%2FRegex-Pattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheHolyOneZ","download_url":"https://codeload.github.com/TheHolyOneZ/Regex-Pattern/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheHolyOneZ%2FRegex-Pattern/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29458776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T21:29:27.764Z","status":"ssl_error","status_checked_at":"2026-02-14T21:28:11.111Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2025-07-23T11:10:21.385Z","updated_at":"2026-02-14T22:33:11.581Z","avatar_url":"https://github.com/TheHolyOneZ.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e For one line \"//\" comments\n```regex\n^\\s*//.*$\n```\n\u003e For inline \"//\" comments\n```regex\n(?\u003c!:)//.*\n```\n\n\u003e For one line `\u003c!-- --\u003e` comments\n```regex\n^\\s*\u003c!--.*$\n```\n\n\u003e For inline `\u003c!-- --\u003e` comments\n```regex\n\u003c!--(?!.*\\|).*?--\u003e\n```\n\n\u003e for One line \"/* */\" comments\n```regex\n^\\s*/\\*.*?\\*/\\s*$\n```\nor\n```regex\n^\\s*/\\*.*\\*/\\s*$\n```\n\n\u003e for inline \"/* */\" comments\n```regex\n/\\*.*?\\*/\n```\n\n---\n\n## Enhanced \u0026 Additional Regex Patterns\n\n\u003e For multi-line block comments (JS/C/Java)\n```regex\n/\\*[\\s\\S]*?\\*/\n```\n\n\u003e For all single-line and block comments (JS/TS, one pass)\n```regex\n(//.*$)|(/\\*[\\s\\S]*?\\*/)\n```\n\n\u003e For TODO or FIXME comments (anywhere)\n```regex\n//.*\\b(TODO|FIXME)\\b.*\n```\n\n\u003e For Python one-line comments\n```regex\n^\\s*#.*$\n```\n\n\u003e For Python inline comments\n```regex\n(?\u003c!['\\\"])#.*\n```\n\n\u003e For HTML multi-line comments\n```regex\n\u003c!--([\\s\\S]*?)--\u003e\n```\n\n\u003e For removing empty lines (cleanup)\n```regex\n^\\s*$\n```\n\n\u003e For trailing whitespace (cleanup)\n```regex\n[ \\t]+$\n```\n\n---\n\n**Tips:**\n- Always test regex on a copy of your code!\n- For multi-line patterns, enable the \"dotall\" or \"s\" flag if your tool supports it.\n- Some patterns may need tweaking for your editor or language.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheholyonez%2Fregex-pattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheholyonez%2Fregex-pattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheholyonez%2Fregex-pattern/lists"}