{"id":8402,"date":"2023-10-26T20:58:12","date_gmt":"2023-10-26T13:58:12","guid":{"rendered":"https:\/\/teky.edu.vn\/blog\/?p=8402"},"modified":"2023-10-29T14:33:41","modified_gmt":"2023-10-29T07:33:41","slug":"regular-expression-la-gi","status":"publish","type":"post","link":"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/","title":{"rendered":"Regular expression l\u00e0 g\u00ec? \u0110\u1ecbnh ngh\u0129a v\u00e0 t\u00ednh n\u0103ng c\u1ee7a n\u1ec1n t\u1ea3ng"},"content":{"rendered":"\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-left kksr-valign-top\"\n    data-payload='{&quot;align&quot;:&quot;left&quot;,&quot;id&quot;:&quot;8402&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;top&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;11&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;4.6&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;Rate this post&quot;,&quot;legend&quot;:&quot;4.6\\\/5 - (11 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;Regular expression l\u00e0 g\u00ec? \u0110\u1ecbnh ngh\u0129a v\u00e0 t\u00ednh n\u0103ng c\u1ee7a n\u1ec1n t\u1ea3ng&quot;,&quot;width&quot;:&quot;130.9&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 130.9px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            4.6\/5 - (11 b\u00ecnh ch\u1ecdn)    <\/div>\n    <\/div>\n<p style=\"text-align: justify;\"><em>Nh\u1eafc \u0111\u1ebfn <strong>Regular Expression,<\/strong> ngay c\u1ea3 nh\u1eefng l\u1eadp tr\u00ecnh vi\u00ean l\u00e2u n\u0103m c\u0169ng ch\u01b0a ch\u1eafc \u0111\u00e3 hi\u1ec3u h\u1ebft. \u0110\u00e2y ch\u00ednh l\u00e0 m\u1ed9t n\u1ec1n t\u1ea3ng kh\u00e1 kh\u00f3 s\u1eed d\u1ee5ng v\u00ec nhi\u1ec1u nguy\u00ean t\u1eafc. Tuy nhi\u00ean t\u00ednh n\u0103ng c\u1ee7a n\u1ec1n t\u1ea3ng n\u00e0y \u0111em l\u1ea1i th\u1eadt s\u1ef1 h\u1eefu d\u1ee5ng. \u0110\u1ec3 m\u1ecdi ng\u01b0\u1eddi c\u00f3 th\u1ec3 hi\u1ec3u d\u1ec5 d\u00e0ng h\u01a1n v\u1ec1 Regular Expression, ch\u00fang ta s\u1ebd c\u00f9ng \u0111\u1ebfn v\u1edbi b\u00e0i vi\u1ebft h\u00f4m nay. Gi\u1ea3i \u0111\u00e1p <strong>Regular Expression l\u00e0 g\u00ec?<\/strong> c\u00f3 th\u1ec3 s\u1ebd c\u1ea7n thi\u1ebft \u0111\u1ed1i v\u1edbi nhi\u1ec1u ng\u01b0\u1eddi. C\u00e1c b\u1ea1n h\u00e3y c\u00f9ng ch\u00fang t\u00f4i t\u00ecm hi\u1ec3u v\u1ec1 \u0111\u1ecbnh ngh\u0129a v\u00e0 nh\u1eefng t\u00ednh n\u0103ng c\u1ee7a n\u1ec1n t\u1ea3ng n\u00e0y nh\u00e9!<\/em><\/p>\n<p><a href=\"https:\/\/lotrinhlaptrinh.teky.vn\/?utm_id=ContentBlog&amp;utm_medium=Click_Blog&amp;utm_source=ContentBlog\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-22416\" src=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2023\/10\/dang-ky-lap-trinh-teky.gif\" alt=\"dang-ky-lap-trinh\" width=\"600\" height=\"314\" \/><\/a><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">N\u1ed9i dung <\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#Regular_Expression_la_gi\" >Regular Expression l\u00e0 g\u00ec?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#Nguyen_tac_hoat_dong_cua_Regular_Expression_la_gi\" >Nguy\u00ean t\u1eafc ho\u1ea1t \u0111\u1ed9ng c\u1ee7a Regular Expression l\u00e0 g\u00ec?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#Cac_cu_phap_co_ban_cua_Regular_Expression\" >C\u00e1c c\u00fa ph\u00e1p c\u01a1 b\u1ea3n c\u1ee7a Regular Expression<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#Bang_bieu_thuc_cua_nen_tang\" >B\u1ea3ng bi\u1ec3u th\u1ee9c c\u1ee7a n\u1ec1n t\u1ea3ng<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#Ham_Regular_Expression_Preg_match_trong_php\" >H\u00e0m Regular Expression Preg_match trong php<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#Bieu_thuc_chinh_quy_Regular_Expression_trong_JavaScript\" >Bi\u1ec3u th\u1ee9c ch\u00ednh quy Regular Expression trong JavaScript<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#Cach_tao_bieu_thuc_chinh_quy\" >C\u00e1ch t\u1ea1o bi\u1ec3u th\u1ee9c ch\u00ednh quy<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#Cach_viet_mau_bieu_thuc_chinh_quy_don_gian\" >C\u00e1ch vi\u1ebft m\u1eabu bi\u1ec3u th\u1ee9c ch\u00ednh quy \u0111\u01a1n gi\u1ea3n<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#Ket_luan\" >K\u1ebft lu\u1eadn<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#Vi_sao_ban_nen_chon_Hoc_Vien_Cong_Nghe_Teky_cho_con_phat_trien_ky_nang_lap_trinh\" >V\u00ec sao b\u1ea1n n\u00ean ch\u1ecdn H\u1ecdc Vi\u1ec7n C\u00f4ng Ngh\u1ec7 Teky cho con ph\u00e1t tri\u1ec3n k\u1ef9 n\u0103ng l\u1eadp tr\u00ecnh?<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#Day_la_chuong_trinh_khong_chi_trang_bi_kien_thuc_lap_trinh_ma_con_ren_luyen_nhom_ky_nang_4Cs_Tre_se_duoc\" >\u0110\u00e2y l\u00e0 ch\u01b0\u01a1ng tr\u00ecnh kh\u00f4ng ch\u1ec9 trang b\u1ecb ki\u1ebfn th\u1ee9c l\u1eadp tr\u00ecnh m\u00e0 c\u00f2n r\u00e8n luy\u1ec7n nh\u00f3m k\u1ef9 n\u0103ng 4Cs. Tr\u1ebb s\u1ebd \u0111\u01b0\u1ee3c:<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#Lien_he_ngay_hoc_vien_cong_nghe_sang_tao_TEKY_de_duoc_tu_van_khoa_hoc\" >Li\u00ean h\u1ec7 ngay h\u1ecdc vi\u1ec7n c\u00f4ng ngh\u1ec7 s\u00e1ng t\u1ea1o TEKY \u0111\u1ec3 \u0111\u01b0\u1ee3c t\u01b0 v\u1ea5n kh\u00f3a h\u1ecdc:<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Regular_Expression_la_gi\"><\/span>Regular Expression l\u00e0 g\u00ec?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">Regular Expression \u0111\u01b0\u1ee3c bi\u1ebft \u0111\u1ebfn trong gi\u1edbi l\u1eadp tr\u00ecnh v\u1edbi t\u00ean g\u1ecdi ng\u1eafn g\u1ecdn h\u01a1n l\u00e0 Regex. N\u00f3i m\u1ed9t c\u00e1ch \u0111\u01a1n gi\u1ea3n, n\u1ec1n t\u1ea3ng n\u00e0y ch\u00ednh l\u00e0 nh\u1eefng k\u1ef9 thu\u1eadt vi\u1ebft bi\u1ec3u th\u1ee9c \u0111\u1ec3 t\u00ecm ki\u1ebfm chu\u1ed7i tr\u00f9ng ph\u00f9 h\u1ee3p. Ch\u00fang ta c\u00f3 th\u1ec3 gi\u1ea3i ngh\u0129a theo t\u00ean g\u1ecdi c\u1ee7a n\u1ec1n t\u1ea3ng. Regular l\u00e0 th\u01b0\u1eddng xuy\u00ean, Expression l\u00e0 bi\u1ec3u th\u1ee9c. \u0110\u00e2y ch\u00ednh l\u00e0 nh\u1eefng bi\u1ec3u th\u1ee9c th\u01b0\u1eddng xuy\u00ean \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng trong l\u1eadp tr\u00ecnh. \u1ede nhi\u1ec1u n\u01a1i, c\u00e1c l\u1eadp tr\u00ecnh vi\u00ean c\u00f2n c\u00f3 th\u1ec3 g\u1ecdi \u0111\u00e2y l\u00e0 bi\u1ec3u th\u1ee9c ch\u00ednh quy. Tuy nhi\u00ean, c\u00e1ch g\u1ecdi Regex v\u1eabn l\u00e0 ng\u1eafn g\u1ecdn v\u00e0 th\u00f4ng d\u1ee5ng nh\u1ea5t cho \u0111\u1ebfn nay.<\/p>\n<figure id=\"attachment_8413\" aria-describedby=\"caption-attachment-8413\" style=\"width: 650px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8413 size-full\" src=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Bieu-thuc-chinh-quy-su-dung-trong-Regular-expression.jpg\" alt=\"Bi\u1ec3u th\u1ee9c ch\u00ednh quy s\u1eed d\u1ee5ng trong n\u1ec1n t\u1ea3ng n\u00e0y\" width=\"650\" height=\"400\" srcset=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Bieu-thuc-chinh-quy-su-dung-trong-Regular-expression.jpg 650w, https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Bieu-thuc-chinh-quy-su-dung-trong-Regular-expression-400x246.jpg 400w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><figcaption id=\"caption-attachment-8413\" class=\"wp-caption-text\">Bi\u1ec3u th\u1ee9c ch\u00ednh quy s\u1eed d\u1ee5ng trong n\u1ec1n t\u1ea3ng n\u00e0y<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">Regular Expression ch\u00ednh l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 c\u1ef1c m\u1ea1nh x\u1eed l\u00fd chu\u1ed7i trong trong Php, javascript\u2026 H\u1ea7u h\u1ebft c\u00e1c ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh \u0111\u1ec1u h\u1ed7 tr\u1ee3 Regex. \u1ee8ng d\u1ee5ng c\u1ee7a Regex v\u00e0 t\u00ednh n\u0103ng c\u1ee7a n\u00f3 \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng r\u1ed9ng r\u00e3i trong nhi\u1ec1u l\u0129nh v\u1ef1c c\u1ee7a l\u1eadp tr\u00ecnh. V\u00ed d\u1ee5 nh\u01b0:<\/p>\n<ul style=\"text-align: justify;\">\n<li style=\"font-weight: 400;\" aria-level=\"1\">Ki\u1ec3m tra t\u00ednh h\u1ee3p l\u1ec7 c\u1ee7a d\u1eef li\u1ec7u: email, \u0111i\u1ec7n tho\u1ea1i,&#8230;<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Regex cho ph\u00e9p s\u1eed d\u1ee5ng \u0111\u1ec3 t\u00ecm c\u00e1c chu\u1ed7i h\u1ee3p l\u1ec7 trong m\u1ed9t chu\u1ed7i l\u1edbn c\u1ee7a bi\u1ec3u th\u1ee9c. N\u1ebfu nh\u01b0 th\u00f4ng th\u01b0\u1eddng, ch\u00fang ta ph\u1ea3i so s\u00e1nh t\u1eebng k\u00fd t\u1ef1. Th\u00ec \u0111\u1ebfn v\u1edbi Regex, c\u00e1c b\u1ea1n ho\u00e0n to\u00e0n c\u00f3 th\u1ec3 d\u00f9ng bi\u1ec3u th\u1ee9c \u0111\u1ec3 t\u00ecm ki\u1ebfm. \u0110\u00e2y ch\u00ednh l\u00e0 s\u1ee9c m\u1ea1nh th\u1ef1c s\u1ef1 c\u1ee7a Regex.<\/li>\n<\/ul>\n<p>&gt;&gt;&gt; Xem th\u00eam : <a href=\"https:\/\/teky.edu.vn\/blog\/restful-api\/\"><span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Restful api l\u00e0 g\u00ec? Gi\u1ea3i \u0111\u00e1p nh\u1eefng \u0111i\u1ec1u c\u1ea7n bi\u1ebft v\u1ec1 restful api?&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:4481,&quot;3&quot;:{&quot;1&quot;:0},&quot;10&quot;:2,&quot;11&quot;:0,&quot;15&quot;:&quot;Arial&quot;}\">Restful api l\u00e0 g\u00ec? Gi\u1ea3i \u0111\u00e1p nh\u1eefng \u0111i\u1ec1u c\u1ea7n bi\u1ebft v\u1ec1 restful api?<\/span><\/a><\/p>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Nguyen_tac_hoat_dong_cua_Regular_Expression_la_gi\"><\/span>Nguy\u00ean t\u1eafc ho\u1ea1t \u0111\u1ed9ng c\u1ee7a Regular Expression l\u00e0 g\u00ec?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><iframe loading=\"lazy\" title=\"B\u00e0i 1 - Regular Expression l\u00e0 g\u00ec\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/psQBnML1MhE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p style=\"text-align: justify;\">Nguy\u00ean t\u1eafc ho\u1ea1t \u0111\u1ed9ng c\u1ee7a Regular Expression ch\u00ednh l\u00e0 so kh\u1edbp d\u1ef1a v\u00e0o khu\u00f4n m\u1eabu. Trong \u0111\u00f3, c\u00e1c khu\u00f4n m\u1eabu n\u00e0y \u0111\u01b0\u1ee3c x\u00e2y d\u1ef1ng t\u1eeb nh\u1eefng quy t\u1eafc c\u0103n b\u1ea3n bi\u1ec3u th\u1ee9c c\u1ee7a Regex. \u0110\u1ec3 n\u1eafm r\u00f5 h\u01a1n v\u1ec1 \u0111i\u1ec1u n\u00e0y, c\u00e1c b\u1ea1n c\u1ea7n ph\u1ea3i hi\u1ec3u nh\u1eefng h\u00e0m x\u1eed l\u00fd c\u1ee7a Regular Expression. Ngay c\u1ea3 nh\u1eefng c\u00fa ph\u00e1p c\u01a1 b\u1ea3n trong n\u1ec1n t\u1ea3ng n\u00e0y c\u00e1c b\u1ea1n c\u0169ng ph\u1ea3i n\u1eafm r\u00f5. T\u1eeb \u0111\u00f3 vi\u1ec7c s\u1eed d\u1ee5ng Regex m\u1edbi tr\u1edf n\u00ean d\u1ec5 d\u00e0ng h\u01a1n v\u1edbi c\u00e1c l\u1eadp tr\u00ecnh vi\u00ean. C\u00e1c b\u1ea1n h\u00e3y c\u00f9ng t\u00ecm hi\u1ec3u ngay sau \u0111\u00e2y c\u00f9ng ch\u00fang t\u00f4i nh\u00e9!<\/p>\n<figure id=\"attachment_8412\" aria-describedby=\"caption-attachment-8412\" style=\"width: 650px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8412\" src=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Tim-hieu-ve-Regular-expression.jpg\" alt=\"T\u00ecm hi\u1ec3u v\u1ec1 Regular expression\" width=\"650\" height=\"400\" srcset=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Tim-hieu-ve-Regular-expression.jpg 650w, https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Tim-hieu-ve-Regular-expression-400x246.jpg 400w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><figcaption id=\"caption-attachment-8412\" class=\"wp-caption-text\">T\u00ecm hi\u1ec3u v\u1ec1 Regular expression<\/figcaption><\/figure>\n<p><em><strong>&gt;&gt;&gt;M\u1eddi b\u1ea1n tham kh\u1ea3o th\u00eam:<\/strong> <a href=\"https:\/\/teky.edu.vn\/blog\/cach-lap-trinh-game\/\">C\u00e1ch l\u1eadp tr\u00ecnh game \u0111\u01a1n gi\u1ea3n<\/a><\/em><\/p>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Cac_cu_phap_co_ban_cua_Regular_Expression\"><\/span>C\u00e1c c\u00fa ph\u00e1p c\u01a1 b\u1ea3n c\u1ee7a Regular Expression<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">Regex \u0111em \u0111\u1ebfn r\u1ea5t nhi\u1ec1u \u1ee9ng d\u1ee5ng h\u1eefu \u00edch kh\u00e1c nhau. Tuy nhi\u00ean, nh\u00ecn chung n\u1ec1n t\u1ea3ng n\u00e0y m\u00e0 chu\u1ed7i c\u00e1c k\u00fd t\u1ef1 m\u00f4 t\u1ea3 m\u1ed9t b\u1ed9 chu\u1ed7i c\u00e1c k\u00fd t\u1ef1 kh\u00e1c. Nh\u01b0ng c\u00f3 m\u1ed9t \u0111i\u1ec1u ch\u1eafc ch\u1eafn l\u00e0, t\u1ea5t c\u1ea3 \u0111\u1ec1u ph\u1ea3i tu\u00e2n theo quy t\u1eafc v\u00e0 c\u00fa ph\u00e1p nh\u1ea5t \u0111\u1ecbnh.<\/p>\n<p style=\"text-align: justify;\">C\u00e1c c\u00fa ph\u00e1p c\u01a1 b\u1ea3n c\u1ee7a Regular Expression \u0111\u00e3 \u0111\u01b0\u1ee3c ch\u00fang t\u00f4i t\u1ed5ng h\u1ee3p v\u00e0 \u0111\u1ec1 c\u1eadp d\u01b0\u1edbi \u0111\u00e2y. C\u00e1c b\u1ea1n h\u00e3y tham kh\u1ea3o ngay nh\u00e9!<\/p>\n<p style=\"text-align: justify;\">\u201c^\u201d ch\u00ednh l\u00e0 k\u00fd t\u1ef1 b\u1eaft \u0111\u1ea7u c\u1ee7a chu\u1ed7i nh\u1eadp. V\u00ed d\u1ee5 ^A th\u00ec A, ch\u00ednh l\u00e0 k\u00fd t\u1ef1 \u0111\u1ea7u ti\u00ean trong chu\u1ed7i.<\/p>\n<p style=\"text-align: justify;\">\u201c$\u201d chu\u1ed7i k\u1ebft th\u00fac nh\u1eadp. C\u00e1c b\u1ea1n c\u00f3 th\u1ec3 bi\u1ec3u di\u1ec5n nh\u01b0 sau: $B th\u00ec B, ch\u00ednh l\u00e0 k\u00fd t\u1ef1 cu\u1ed1i c\u00f9ng c\u1ee7a chu\u1ed7i.<\/p>\n<p style=\"text-align: justify;\">\u201c.\u201d d\u00f9ng \u0111\u1ec3 ch\u1ec9 b\u1ea5t k\u1ef3 c\u1ee9 t\u1ef1 n\u00e0o, ngo\u1ea1i tr\u1eeb k\u00fd t\u1ef1 xu\u1ed1ng d\u00f2ng.<\/p>\n<p style=\"text-align: justify;\">\u201c*\u201d khi c\u00f3 k\u00fd t\u1ef1 n\u00e0y xu\u1ea5t hi\u1ec7n, ch\u00fang ta c\u00f3 th\u1ec3 hi\u1ec3u, c\u00e1c k\u00fd t\u1ef1 tr\u01b0\u1edbc \u0111\u00f3 c\u00f3 th\u1ec3 l\u1eb7p 0 ho\u1eb7c nhi\u1ec1u l\u1ea7n. V\u00ed d\u1ee5 \u201cra*t\u201d ch\u00fang ta c\u00f3 th\u1ec3 ng\u1ea7m hi\u1ec3u l\u00e0 raat ho\u1eb7c raaaat, ho\u1eb7c c\u0169ng c\u00f3 th\u1ec3 l\u00e0 rt.<\/p>\n<p style=\"text-align: justify;\">\u201c+\u201d kh\u00e1c v\u1edbi ph\u00e1i tr\u00ean, k\u00fd t\u1ef1 n\u00e0y xu\u1ea5t hi\u1ec7n ch\u00fang ta ng\u1ea7m hi\u1ec3u k\u00fd t\u1ef1 tr\u01b0\u1edbc \u0111\u00f3 c\u00f3 th\u1ec3 l\u1eb7p 1 ho\u1eb7c nhi\u1ec1u l\u1ea7n. V\u00ed d\u1ee5 \u201cra+t\u201d th\u00ec c\u00f3 th\u1ec3 l\u00e0 rat, raaat, raat,&#8230;<\/p>\n<p><a href=\"https:\/\/lotrinhlaptrinh.teky.vn\/?utm_id=ContentBlog&amp;utm_medium=Click_Blog&amp;utm_source=ContentBlog\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-22417\" src=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2023\/10\/dang-ky-lap-trinh-teky1.gif\" alt=\"dang-ky-lap-trinh-teky1\" width=\"600\" height=\"314\" \/><\/a><\/p>\n<p>&gt;&gt;&gt; Xem th\u00eam : <a href=\"https:\/\/teky.edu.vn\/blog\/docker-la-gi\/\"><span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Docker l\u00e0 g\u00ec? Gi\u1ea3i \u0111\u00e1p v\u1ec1 Docker Container nh\u1eefng \u0111i\u1ec1u c\u1ea7n bi\u1ebft&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:4481,&quot;3&quot;:{&quot;1&quot;:0},&quot;10&quot;:2,&quot;11&quot;:0,&quot;15&quot;:&quot;Arial&quot;}\">Docker l\u00e0 g\u00ec? Gi\u1ea3i \u0111\u00e1p v\u1ec1 Docker Container nh\u1eefng \u0111i\u1ec1u c\u1ea7n bi\u1ebft<\/span><\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Bang_bieu_thuc_cua_nen_tang\"><\/span><strong>B\u1ea3ng bi\u1ec3u th\u1ee9c c\u1ee7a n\u1ec1n t\u1ea3ng<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">C\u00f2n c\u00f3 r\u1ea5t nhi\u1ec1u c\u00fa ph\u00e1p d\u1ec5 hi\u1ec3u n\u1eefa m\u00e0 c\u00e1c b\u1ea1n n\u00ean ghi nh\u1edb khi s\u1eed d\u1ee5ng Regular Expression. Tuy nhi\u00ean khi th\u1ef1c s\u1ef1 tr\u1ea3i nghi\u1ec7m, c\u00e1c b\u1ea1n m\u1edbi c\u00f3 th\u1ec3 nh\u1edb \u0111\u01b0\u1ee3c. H\u00e3y t\u1ef1 m\u00ecnh t\u00ecm hi\u1ec3u v\u00e0 s\u1eed d\u1ee5ng \u0111\u1ec3 c\u00f3 th\u1ec3 ghi nh\u1edb nhanh ch\u00f3ng nh\u1ea5t c\u00f3 th\u1ec3. Nh\u1edd c\u00f3 nh\u1eefng chu\u1ed7i k\u00fd t\u1ef1 n\u00e0y m\u00e0 c\u00e1c l\u1eadp tr\u00ecnh vi\u00ean c\u00f3 th\u1ec3 l\u1eadp tr\u00ecnh code d\u1ec5 d\u00e0ng h\u01a1n.<\/p>\n<figure id=\"attachment_8409\" aria-describedby=\"caption-attachment-8409\" style=\"width: 650px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8409 size-full\" src=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Bieu-thuc-cua-Regular-expression.jpg\" alt=\"Bi\u1ec3u th\u1ee9c c\u1ee7a n\u1ec1n t\u1ea3ng\" width=\"650\" height=\"400\" srcset=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Bieu-thuc-cua-Regular-expression.jpg 650w, https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Bieu-thuc-cua-Regular-expression-400x246.jpg 400w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><figcaption id=\"caption-attachment-8409\" class=\"wp-caption-text\">Bi\u1ec3u th\u1ee9c c\u1ee7a n\u1ec1n t\u1ea3ng<\/figcaption><\/figure>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Ham_Regular_Expression_Preg_match_trong_php\"><\/span>H\u00e0m Regular Expression Preg_match trong php<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">Preg_match l\u00e0 m\u1ed9t h\u00e0m x\u1eed l\u00fd Regular Expression \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng trong php. C\u00f3 5 tham s\u1ed1 c\u00f3 m\u1eb7t trong h\u00e0m n\u00e0y. Tuy nhi\u00ean trong th\u1ef1c t\u1ebf ch\u00fang ta ch\u1ec9 d\u00f9ng t\u1edbi 3 tham s\u1ed1 c\u1ea7n thi\u1ebft. \u0110\u1ec3 hi\u1ec3u \u0111\u01b0\u1ee3c v\u1ec1 c\u00e1c h\u00e0m n\u00e0y kh\u00f4ng ph\u1ea3i l\u00e0 d\u1ec5. \u0110\u00f4i khi nh\u1eefng l\u1eadp tr\u00ecnh vi\u00ean l\u00e2u n\u0103m c\u0169ng kh\u00f4ng t\u1ef1 tin n\u1eafm b\u1eaft \u0111\u01b0\u1ee3c \u0111i\u1ec1u n\u00e0y. C\u00e1c b\u1ea1n c\u1ea7n ph\u1ea3i t\u00ecm hi\u1ec3u k\u1ef9 v\u1ec1 n\u00f3 m\u1edbi c\u00f3 th\u1ec3 hi\u1ec3u \u0111\u01b0\u1ee3c t\u1ea5t c\u1ea3. Ch\u00ednh v\u00ec v\u1eady, ch\u00fang t\u00f4i ngh\u0129 r\u1eb1ng, \u0111\u1ec3 theo \u0111u\u1ed5i ng\u00e0nh c\u00f4ng ngh\u1ec7 th\u00f4ng tin, c\u00e1c b\u1ea1n c\u1ea7n ph\u1ea3i ch\u0103m ch\u1ec9 nhi\u1ec1u h\u01a1n.<\/p>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Bieu_thuc_chinh_quy_Regular_Expression_trong_JavaScript\"><\/span>Bi\u1ec3u th\u1ee9c ch\u00ednh quy Regular Expression trong JavaScript<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">Nh\u01b0 ch\u00fang ta \u0111\u00e3 \u0111\u1ec1 c\u1eadp \u0111\u1ebfn ph\u00eda tr\u00ean, Regular Expression l\u00e0 c\u00e1c m\u1eabu d\u00f9ng \u0111\u1ec3 t\u00ecm ki\u1ebfm b\u1ed9 k\u00fd t\u1ef1. Ch\u00ednh v\u00ec v\u1eady, Regex trong JavaScript v\u1eeba l\u00e0 bi\u1ec3u th\u1ee9c ch\u00ednh quy v\u1eeba l\u00e0 \u0111\u1ed1i t\u01b0\u1ee3ng. Khi b\u1ea1n t\u1ea1o ra m\u1ed9t bi\u1ec3u th\u1ee9c ch\u00ednh quy b\u1ea1n c\u1ea7n c\u00f3 m\u1ed9t \u0111\u1ed1i t\u01b0\u1ee3ng t\u01b0\u01a1ng \u1ee9ng.<\/p>\n<p style=\"text-align: justify;\">\u0110\u1ed1i v\u1edbi Regex, c\u00e1c m\u1eabu n\u00e0y \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng r\u1ea5t nhi\u1ec1u trong JavaScript. V\u00ed d\u1ee5 nh\u01b0 c\u00e1c ph\u01b0\u01a1ng th\u1ee9c exec v\u00e0 test c\u1ee7a RegExp, hay ph\u01b0\u01a1ng th\u1ee9c match, replace, search, v\u00e0 split c\u1ee7a String. Ch\u00fang ta s\u1ebd c\u00f9ng nhau t\u00ecm hi\u1ec3u k\u1ef9 l\u01b0\u1ee1ng h\u01a1n v\u1ec1 c\u00e1ch t\u1ea1o bi\u1ec3u th\u1ee9c ch\u00ednh quy trong JavaScript.<\/p>\n<p>&gt;&gt;&gt; Xem th\u00eam : <a href=\"https:\/\/teky.edu.vn\/blog\/xml-la-gi\/\"><span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;XML l\u00e0 g\u00ec? T\u00ecm hi\u1ec3u v\u1ec1 c\u1ea5u tr\u00fac, \u0111\u1eb7c \u0111i\u1ec3m c\u1ee7a file XML&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:4481,&quot;3&quot;:{&quot;1&quot;:0},&quot;10&quot;:2,&quot;11&quot;:0,&quot;15&quot;:&quot;Arial&quot;}\">XML l\u00e0 g\u00ec? T\u00ecm hi\u1ec3u v\u1ec1 c\u1ea5u tr\u00fac, \u0111\u1eb7c \u0111i\u1ec3m c\u1ee7a file XML<\/span><\/a><\/p>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Cach_tao_bieu_thuc_chinh_quy\"><\/span>C\u00e1ch t\u1ea1o bi\u1ec3u th\u1ee9c ch\u00ednh quy<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">C\u00e1c l\u1eadp tr\u00ecnh vi\u00ean c\u00f3 th\u1ec3 t\u1ea1o c\u00e1c bi\u1ec3u th\u1ee9c ch\u00ednh quy theo hai c\u00e1ch kh\u00e1c nhau. C\u1ea3 hai \u0111\u1ec1u c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng \u0111\u1ec3 t\u1ea1o bi\u1ec3u th\u1ee9c ch\u00ednh quy trong JavaScript. C\u00e1c b\u1ea1n c\u00f3 th\u1ec3 c\u00e2n nh\u1eafc ch\u1ecdn 1 trong hai c\u00e1ch.<\/p>\n<figure id=\"attachment_8410\" aria-describedby=\"caption-attachment-8410\" style=\"width: 650px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8410\" src=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Cach-su-dung-Regular-expression.jpg\" alt=\"C\u00e1ch s\u1eed d\u1ee5ng Regular expression\" width=\"650\" height=\"400\" srcset=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Cach-su-dung-Regular-expression.jpg 650w, https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Cach-su-dung-Regular-expression-400x246.jpg 400w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><figcaption id=\"caption-attachment-8410\" class=\"wp-caption-text\">C\u00e1ch s\u1eed d\u1ee5ng Regular expression<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">C\u00e1ch 1 ch\u00ednh l\u00e0 s\u1eed d\u1ee5ng m\u00f4 t\u1ea3 ch\u00ednh quy thu\u1ea7n (regular expression literal). V\u1edbi c\u00e1ch th\u1ee9c n\u00e0y c\u00e1c \u0111o\u1ea1n m\u00e3 ch\u1ee9a m\u00f4 t\u1ea3 ch\u00ednh quy thu\u1ea7n sau khi n\u1ea1p v\u00e0o b\u1ed9 nh\u1edb s\u1ebd \u0111\u01b0\u1ee3c d\u1ecbch c\u00e1c bi\u1ec3u th\u1ee9c ch\u00ednh quy. C\u00e1c \u0111o\u1ea1n m\u00e3 ch\u1ee9a m\u00f4 t\u1ea3 ch\u00ednh quy thu\u1ea7n n\u00e0y s\u1ebd \u0111\u01b0\u1ee3c d\u1ecbch ra coi nh\u01b0 nh\u1eefng h\u00e0ng s\u1ed1. Ng\u01b0\u1eddi d\u00f9ng s\u1ebd kh\u00f4ng c\u1ea7n t\u1ea1o \u0111i t\u1ea1o l\u1ea1i nhi\u1ec1u l\u1ea7n. \u0110i\u1ec1u n\u00e0y gi\u00fap cho hi\u1ec7u qu\u1ea3 c\u00f4ng vi\u1ec7c tr\u1edf n\u00ean nhanh ch\u00f3ng, hi\u1ec7u su\u1ea5t cao h\u01a1n.<\/p>\n<p style=\"text-align: justify;\">C\u00e1ch th\u1ee9 2 \u0111\u00f3 ch\u00ednh l\u00e0 t\u1ea1o m\u1ed9t \u0111\u1ed1i t\u01b0\u1ee3ng RegExp. V\u1edbi c\u00e1ch th\u1ee9c n\u00e0y c\u00e1c bi\u1ec3u th\u1ee9c ch\u00ednh quy s\u1ebd \u0111\u01b0\u1ee3c d\u1ecbch ra l\u00fac th\u1ef1c thi ch\u01b0\u01a1ng tr\u00ecnh. C\u00f3 l\u1ebd v\u00ec \u0111i\u1ec1u \u0111\u00f3 m\u00e0 hi\u1ec7u n\u0103ng c\u1ee7a c\u00e1ch n\u00e0y kh\u00f4ng \u0111\u1ea1t hi\u1ec7u qu\u1ea3 cao. Tuy nhi\u00ean, n\u1ebfu nh\u00ecn v\u00e0o \u01b0u \u0111i\u1ec3m, th\u00ec c\u00e1ch th\u1ee9c n\u00e0y cho ph\u00e9p thay \u0111\u1ed5i c\u00e1c m\u1eabu ch\u00ednh quy. Khi c\u00e1c b\u1ea1n kh\u00f4ng ch\u1eafc ch\u1eafn v\u1ec1 c\u00e1c m\u1eabu ch\u00ednh quy c\u00e1c b\u1ea1n c\u00f3 th\u1ec3 s\u1eeda \u0111\u1ed5i v\u00e0 nh\u1eadp l\u1ea1i. \u0110\u00e2y ch\u00ednh l\u00e0 \u0111i\u1ec3m m\u1ea1nh c\u1ee7a c\u00e1ch l\u00e0m n\u00e0y. Regular Expression c\u00f3 th\u1ec3 \u0111em \u0111\u1ebfn cho b\u1ea1n nhi\u1ec1u \u0111i\u1ec1u t\u00ednh n\u0103ng h\u1eefu d\u1ee5ng.<\/p>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Cach_viet_mau_bieu_thuc_chinh_quy_don_gian\"><\/span>C\u00e1ch vi\u1ebft m\u1eabu bi\u1ec3u th\u1ee9c ch\u00ednh quy \u0111\u01a1n gi\u1ea3n<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">M\u1eabu bi\u1ec3u th\u1ee9c \u0111\u01a1n gi\u1ea3n l\u00e0 nh\u1eefng \u0111i\u1ec1u c\u00e1c b\u1ea1n c\u1ea7n bi\u1ebft khi s\u1eed d\u1ee5ng Regular Expression. C\u00e1c m\u1eabu \u0111\u01a1n gi\u1ea3n l\u00e0 c\u00e1c m\u1eabu c\u00f3 th\u1ec3 x\u00e2y d\u1ef1ng t\u1eeb c\u00e1c k\u00fd t\u1ef1 c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c t\u00ecm ki\u1ebfm trong c\u00e1c m\u1eabu c\u00e2u m\u1ed9t c\u00e1ch tr\u1ef1c ti\u1ebfp. V\u00ed d\u1ee5 nh\u01b0 \/abc\/ s\u1ebd t\u00ecm c\u00e1c c\u00e1c \u0111o\u1ea1n abc theo \u0111\u00fang th\u1ee9 t\u1ef1 \u0111\u00f3 trong c\u00e1c chu\u1ed7i. M\u1eabu n\u00e0y s\u1ebd \u0111\u01b0\u1ee3c t\u00ecm th\u1ea5y \u1edf c\u00e1c c\u00e2u nh\u01b0 \u201cHi, My name is ABC.\u201d ho\u1eb7c c\u00e1c c\u00e2u \u201cI\u2019m from abcdef city.\u201d \u1ede trong c\u00e1c c\u00e2u n\u00e0y \u0111\u1ec1u c\u00f3 c\u1ee5m ABC n\u00ean c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c t\u00ecm ra. C\u00e1c b\u1ea1n c\u0169ng c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng m\u1eabu bi\u1ec3u th\u1ee9c \u0111\u01a1n gi\u1ea3n n\u00e0y \u0111\u1ec3 t\u00ecm c\u00e1c c\u1ee5m kh\u00e1c.<\/p>\n<figure id=\"attachment_8411\" aria-describedby=\"caption-attachment-8411\" style=\"width: 650px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8411\" src=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Nhung-bieu-thuc-cua-Regular-expression-ung-dung-nhu-the-nao.jpg\" alt=\"Nh\u1eefng bi\u1ec3u th\u1ee9c c\u1ee7a Regular expression \u1ee9ng d\u1ee5ng nh\u01b0 th\u1ebf n\u00e0o\" width=\"650\" height=\"400\" srcset=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Nhung-bieu-thuc-cua-Regular-expression-ung-dung-nhu-the-nao.jpg 650w, https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Nhung-bieu-thuc-cua-Regular-expression-ung-dung-nhu-the-nao-400x246.jpg 400w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><figcaption id=\"caption-attachment-8411\" class=\"wp-caption-text\">Nh\u1eefng bi\u1ec3u th\u1ee9c c\u1ee7a Regular expression \u1ee9ng d\u1ee5ng nh\u01b0 th\u1ebf n\u00e0o<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">C\u00f3 r\u1ea5t nhi\u1ec1u m\u1eabu bi\u1ec3u th\u1ee9c ch\u00ednh quy c\u00f3 s\u1eb5n trong n\u1ec1n t\u1ea3ng. C\u00e1c b\u1ea1n n\u00ean t\u1ef1 m\u00ecnh s\u1eed d\u1ee5ng v\u00e0 tr\u1ea3i nghi\u1ec7m. Ngo\u00e0i d\u1ea1ng m\u1eabu bi\u1ec3u th\u1ee9c \u0111\u01a1n gi\u1ea3n th\u00ec nh\u1eefng k\u00fd t\u1ef1 \u0111\u1eb7c bi\u1ec7t c\u0169ng c\u00f3 th\u1ec3 th\u00e0nh l\u1eadp m\u00e3. C\u00e1c b\u1ea1n n\u00ean ch\u00fa \u00fd \u0111\u1ebfn nh\u1eefng k\u00fd hi\u1ec7u \u0111\u1eb7c bi\u1ec7t h\u01a1n. B\u1edfi g\u1ea7n nh\u01b0 m\u1ed7i\u00a0 k\u00fd hi\u1ec7u \u0111\u1ec1u c\u00f3 \u00fd ngh\u0129a v\u1ec1 m\u00e3 kh\u00e1c nhau.<\/p>\n<p><a href=\"https:\/\/lotrinhlaptrinh.teky.vn\/?utm_id=ContentBlog&amp;utm_medium=Click_Blog&amp;utm_source=ContentBlog\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-22422\" src=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2023\/10\/lap-trinh-cho-tre.gif\" alt=\"lap-trinh-cho-tre\" width=\"600\" height=\"314\" \/><\/a><\/p>\n<p>&gt;&gt;&gt; Xem th\u00eam : <a href=\"https:\/\/teky.edu.vn\/blog\/json-la-gi\/\"><span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Json l\u00e0 g\u00ec? Nh\u1eefng \u0111i\u1ec1u l\u1eadp tr\u00ecnh vi\u00ean n\u00ean bi\u1ebft v\u1ec1 Json File&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:4481,&quot;3&quot;:{&quot;1&quot;:0},&quot;10&quot;:2,&quot;11&quot;:0,&quot;15&quot;:&quot;Arial&quot;}\">Json l\u00e0 g\u00ec? Nh\u1eefng \u0111i\u1ec1u l\u1eadp tr\u00ecnh vi\u00ean n\u00ean bi\u1ebft v\u1ec1 Json File<\/span><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Ket_luan\"><\/span><strong>K\u1ebft lu\u1eadn<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">C\u00f3 th\u1ec3 n\u00f3i, nh\u1eefng \u0111\u1ecbnh ngh\u0129a l\u00e0 l\u00fd thuy\u1ebft li\u00ean quan \u0111\u1ebfn Regular Expression \u0111\u00e3 \u0111\u01b0\u1ee3c ch\u00fang t\u00f4i \u0111\u1ec1 c\u1eadp tr\u00ean \u0111\u00e2y. Hy v\u1ecdng nh\u1eefng th\u00f4ng tin n\u00e0y c\u00f3 th\u1ec3 \u0111em \u0111\u1ebfn cho b\u1ea1n nh\u1eefng \u0111i\u1ec1u c\u1ea7n bi\u1ebft. T\u00ednh n\u0103ng c\u1ee7a Regex th\u1eadt s\u1ef1 h\u1eefu \u00edch v\u1edbi gi\u1edbi l\u1eadp tr\u00ecnh. C\u00e1c b\u1ea1n l\u1eadp tr\u00ecnh vi\u00ean \u0111\u1ec1u c\u1ed1 g\u1eafng s\u1eed d\u1ee5ng n\u1ec1n t\u1ea3ng n\u00e0y \u0111\u1ec3 c\u00f3 th\u1ec3 l\u1eadp tr\u00ecnh t\u1ed1t h\u01a1n. Regex \u0111\u01b0\u1ee3c \u0111\u00e1nh gi\u00e1 l\u00e0 m\u1ed9t n\u1ec1n t\u1ea3ng kh\u00f3 s\u1eed d\u1ee5ng, tuy nhi\u00ean n\u00f3 l\u1ea1i \u0111em \u0111\u1ebfn t\u00ednh n\u0103ng t\u1ed1t. \u0110i\u1ec1u n\u00e0y \u0111\u00e3 khi\u1ebfn cho c\u00e1c l\u1eadp tr\u00ecnh vi\u00ean b\u1ecb thuy\u1ebft ph\u1ee5c v\u00e0 l\u1ef1a ch\u1ecdn s\u1eed d\u1ee5ng.<\/p>\n<p style=\"text-align: justify;\">Tr\u00ean trang ch\u1ee7 c\u1ee7a ch\u00fang t\u00f4i c\u00f3 r\u1ea5t nhi\u1ec1u nh\u1eefng b\u00e0i vi\u1ebft v\u1ec1 ch\u1ee7 \u0111\u1ec1 l\u1eadp tr\u00ecnh. C\u00e1c b\u1ea1n c\u00f3 th\u1ec3 truy c\u1eadp \u0111\u1ec3 t\u00ecm hi\u1ec3u th\u00eam v\u1ec1 m\u1ed9t ch\u1ee7 \u0111\u1ec1 \u0111ang hot ch\u00ednh l\u00e0 <a href=\"https:\/\/teky.edu.vn\/blog\/bug-la-gi\/\" rel=\"\u201dnofollow\u201d\">\u00a0bug l\u00e0 g\u00ec<\/a>. C\u1ea3m \u01a1n c\u00e1c b\u1ea1n \u0111\u00e3 \u0111\u00f3n \u0111\u1ecdc b\u00e0i vi\u1ebft c\u1ee7a ch\u00fang t\u00f4i.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Vi_sao_ban_nen_chon_Hoc_Vien_Cong_Nghe_Teky_cho_con_phat_trien_ky_nang_lap_trinh\"><\/span><span style=\"font-size: 24px; color: #339966;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;C\u00f9ng T\u00ecm Hi\u1ec3u V\u1ec1 Teky H\u1ecdc Vi\u1ec7n 5 sao \u0110\u00e0o T\u1ea1o Tr\u1ebb Em H\u1ecdc L\u1eadp Tr\u00ecnh (4-18 tu\u1ed5i)&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:17153,&quot;3&quot;:{&quot;1&quot;:0},&quot;11&quot;:4,&quot;12&quot;:0,&quot;17&quot;:1}\">V\u00ec sao b\u1ea1n n\u00ean ch\u1ecdn H\u1ecdc Vi\u1ec7n C\u00f4ng Ngh\u1ec7 Teky cho con ph\u00e1t tri\u1ec3n k\u1ef9 n\u0103ng l\u1eadp tr\u00ecnh?<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><iframe loading=\"lazy\" title=\"H\u1ecdc l\u1eadp tr\u00ecnh tr\u1ebb em \u1edf \u0111\u00e2u? - Gi\u1edbi thi\u1ec7u h\u1ecdc vi\u1ec7n c\u00f4ng ngh\u1ec7 TEKY h\u00e0ng \u0111\u1ea7u Vi\u1ec7t Nam\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/kGgr0XJAxFM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p><strong>TEKY l\u00e0 H\u1ecdc vi\u1ec7n s\u00e1ng t\u1ea1o c\u00f4ng ngh\u1ec7<\/strong> v\u1edbi ch\u01b0\u01a1ng tr\u00ecnh gi\u1ea3ng d\u1ea1y STEAM (Science \u2013 Technology \u2013 Engineering \u2013 Art \u2013 Mathematics) theo chu\u1ea9n M\u1ef9 \u0111\u1ea7u ti\u00ean t\u1ea1i Vi\u1ec7t Nam d\u00e0nh cho tr\u1ebb em t\u1eeb 4 \u0111\u1ebfn 18 tu\u1ed5i.<\/p>\n<p>\u0110\u01b0\u1ee3c th\u00e0nh l\u1eadp v\u00e0o th\u00e1ng 6 n\u0103m 2016, TEKY quy\u1ebft t\u00e2m th\u1ef1c hi\u1ec7n s\u1ee9 m\u1ec7nh mang \u0111\u1ebfn cho th\u1ebf h\u1ec7 tr\u1ebb Vi\u1ec7t Nam ki\u1ebfn th\u1ee9c to\u00e0n di\u1ec7n v\u1ec1 STEAM, \u0111\u1eb7c bi\u1ec7t l\u00e0 c\u00e1c t\u01b0 duy c\u00f4ng ngh\u1ec7, khoa h\u1ecdc m\u00e1y t\u00ednh v\u00e0 k\u1ef9 n\u0103ng th\u1ebf k\u1ef7 21 \u2013 4Cs (Critical Thinking: T\u01b0 duy ph\u1ea3n bi\u1ec7n \u2013 Communication: Giao ti\u1ebfp \u2013 Creativity: S\u00e1ng t\u1ea1o \u2013 Collaboration: L\u00e0m vi\u1ec7c nh\u00f3m).<\/p>\n<figure id=\"attachment_14828\" aria-describedby=\"caption-attachment-14828\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/teky.edu.vn\/?utm_source=Blog&amp;utm_medium=baiviet\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-14828 size-full\" src=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/03\/Trai-nghiem-hoc-lap-trinh-mien-phi.jpg\" alt=\"Tr\u1ea3i nghi\u1ec7m h\u1ecdc l\u1eadp tr\u00ecnh mi\u1ec5n ph\u00ed\" width=\"600\" height=\"400\" srcset=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/03\/Trai-nghiem-hoc-lap-trinh-mien-phi.jpg 600w, https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/03\/Trai-nghiem-hoc-lap-trinh-mien-phi-400x267.jpg 400w, https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/03\/Trai-nghiem-hoc-lap-trinh-mien-phi-272x182.jpg 272w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-14828\" class=\"wp-caption-text\">Tr\u1ea3i nghi\u1ec7m h\u1ecdc l\u1eadp tr\u00ecnh mi\u1ec5n ph\u00ed<\/figcaption><\/figure>\n<h4><span class=\"ez-toc-section\" id=\"Day_la_chuong_trinh_khong_chi_trang_bi_kien_thuc_lap_trinh_ma_con_ren_luyen_nhom_ky_nang_4Cs_Tre_se_duoc\"><\/span>\u0110\u00e2y l\u00e0 ch\u01b0\u01a1ng tr\u00ecnh kh\u00f4ng ch\u1ec9 trang b\u1ecb ki\u1ebfn th\u1ee9c l\u1eadp tr\u00ecnh m\u00e0 c\u00f2n r\u00e8n luy\u1ec7n nh\u00f3m k\u1ef9 n\u0103ng 4Cs. Tr\u1ebb s\u1ebd \u0111\u01b0\u1ee3c:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ul>\n<li>\u00a0H\u1ecdc t\u01b0 duy ph\u1ea3n bi\u1ec7n th\u00f4ng qua vi\u1ec7c ph\u00e2n t\u00edch c\u00e1c v\u1ea5n \u0111\u1ec1.<\/li>\n<li>\u00a0H\u1ecdc t\u00ednh s\u00e1ng t\u1ea1o t\u01b0 duy Logic th\u00f4ng qua vi\u1ec7c l\u1eafp \u0111\u1eb7t v\u00e0 l\u1eadp tr\u00ecnh robot th \u00f4ng qua c\u00e1c m\u00f4 h\u00ecnh Lego Mindstorm, app tr\u00f2 ch\u01a1i. Gi\u00fap con h\u1ecdc gi\u1ecfi m\u00f4n To\u00e1n tr\u00ean l\u1edbp<\/li>\n<li>\u00a0K\u1ef9 n\u0103ng h\u1ee3p t\u00e1c th\u00f4ng qua c\u00e1c tr\u00f2 ch\u01a1i team-building, c\u00e1c d\u1ef1 \u00e1n nh\u00f3m tr\u00ean l\u1edbp.<\/li>\n<li>\u00a0Ph\u00e1t huy kh\u1ea3 n\u0103ng giao ti\u1ebfp hi\u1ec7u qu\u1ea3 b\u1eb1ng nhi\u1ec1u b\u00e0i t\u1eadp v\u00e0 ho\u1ea1t \u0111\u1ed9ng h\u1ea5p d\u1eabn.<\/li>\n<\/ul>\n<p><iframe loading=\"lazy\" title=\"Shark Nguy\u1ec5n Ho\u00e0 B\u00ecnh \u0111\u1ed3ng h\u00e0nh c\u00f9ng con h\u1ecdc l\u1eadp tr\u00ecnh t\u1ea1i h\u1ecdc vi\u1ec7n c\u00f4ng ngh\u1ec7 Teky h\u00e0ng \u0111\u1ea7u Vi\u1ec7t Nam\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/q6QbqIs6ll8?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>C\u00e1c b\u1ed9 m\u00f4n gi\u1ea3ng d\u1ea1y t\u1ea1i Teky g\u1ed3m: <span style=\"font-weight: 400;\">L\u1eadp tr\u00ecnh v\u00e0 ph\u00e1t tri\u1ec3n \u1ee9ng d\u1ee5ng<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">l\u1eadp tr\u00ecnh game<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">l\u1eadp tr\u00ecnh web v\u1edbi python<\/span> <span style=\"font-weight: 400;\">\u00a0<\/span><span style=\"font-weight: 400;\">L\u1eadp tr\u00ecnh Scratch<\/span><span style=\"font-weight: 400;\">Roboti<\/span><span style=\"font-weight: 400;\">cs<\/span> Engineering, C\u00f4ng ngh\u1ec7 3D v\u00e0 MultiMedia. Ch\u00fang t\u00f4i tin r\u1eb1ng tr\u1ebb em Vi\u1ec7t Nam c\u00f3 c\u01a1 h\u1ed9i ph\u00e1t tri\u1ec3n m\u1ea1nh m\u1ebd trong m\u1ed9t n\u1ec1n kinh t\u1ebf s\u1ed1 v\u00e0 c\u1ea7n \u0111\u01b0\u1ee3c trang b\u1ecb s\u1eb5n s\u00e0ng \u0111\u1ec3 tr\u1edf th\u00e0nh nh\u1eefng doanh nh\u00e2n c\u00f4ng ngh\u1ec7 trong t\u01b0\u01a1ng lai.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Lien_he_ngay_hoc_vien_cong_nghe_sang_tao_TEKY_de_duoc_tu_van_khoa_hoc\"><\/span><span style=\"color: #008000;\"><b>Li\u00ean h\u1ec7 ngay h\u1ecdc vi\u1ec7n c\u00f4ng ngh\u1ec7 s\u00e1ng t\u1ea1o TEKY \u0111\u1ec3 \u0111\u01b0\u1ee3c t\u01b0 v\u1ea5n kh\u00f3a h\u1ecdc:<\/b><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Cam k\u00eat 7 tu\u1ed5i c\u00f3 th\u1ec3 l\u1eadp tr\u00ecnh<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Top 10 d\u1ef1 \u00e1n gi\u00e1o d\u1ee5c c\u00f3 t\u1ea7m \u1ea3nh h\u01b0\u1edfng nh\u1ea5t \u0110\u00f4ng Nam \u00c1 2017 &amp; 2018<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Top 3 D\u1ef1 \u00e1n xu\u1ea5t s\u1eafc nh\u1ea5t, NextGen \u2013 Th\u1ee5y S\u0129<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\u00a0Hotline H\u00e0 N\u1ed9i: 024-7109-6668 | 0975-241-015<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\u00a0Hotline H\u1ed3 Ch\u00ed Minh: 028-7109 9948 | 097-900-8642<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Website <\/span><a href=\"https:\/\/teky.edu.vn\/\"><span style=\"font-weight: 400;\">https:\/\/teky.edu.vn<\/span><\/a><span style=\"font-weight: 400;\"> | Email: support@teky.edu.vn |<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nh\u1eafc \u0111\u1ebfn Regular Expression, ngay c\u1ea3 nh\u1eefng l\u1eadp tr\u00ecnh vi\u00ean l\u00e2u n\u0103m c\u0169ng ch\u01b0a ch\u1eafc \u0111\u00e3 hi\u1ec3u h\u1ebft. \u0110\u00e2y ch\u00ednh l\u00e0 m\u1ed9t n\u1ec1n t\u1ea3ng kh\u00e1 kh\u00f3 s\u1eed d\u1ee5ng v\u00ec nhi\u1ec1u nguy\u00ean t\u1eafc. Tuy nhi\u00ean t\u00ednh n\u0103ng c\u1ee7a n\u1ec1n t\u1ea3ng n\u00e0y \u0111em l\u1ea1i th\u1eadt s\u1ef1 h\u1eefu d\u1ee5ng. \u0110\u1ec3 m\u1ecdi ng\u01b0\u1eddi c\u00f3 th\u1ec3 hi\u1ec3u d\u1ec5 d\u00e0ng h\u01a1n &hellip;<\/p>\n","protected":false},"author":10,"featured_media":8413,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[],"class_list":["post-8402","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-lap-trinh"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.9 (Yoast SEO v26.0) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Regular expression l\u00e0 g\u00ec? \u0110\u1ecbnh ngh\u0129a v\u00e0 t\u00ednh n\u0103ng c\u1ee7a n\u1ec1n t\u1ea3ng<\/title>\n<meta name=\"description\" content=\"Regular Expression \u0111ang l\u00e0 s\u1ef1 quan t\u00e2m c\u1ee7a r\u1ea5t nhi\u1ec1u l\u1eadp tr\u00ecnh vi\u00ean. \u0110i\u1ec1u n\u00e0y th\u1ef1c s\u1ef1 l\u00e0 g\u00ec? Ch\u00fang ta h\u00e3y c\u00f9ng nhau t\u00ecm hi\u1ec3u nh\u00e9!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/\" \/>\n<meta property=\"og:locale\" content=\"vi_VN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Regular expression l\u00e0 g\u00ec? \u0110\u1ecbnh ngh\u0129a v\u00e0 t\u00ednh n\u0103ng c\u1ee7a n\u1ec1n t\u1ea3ng\" \/>\n<meta property=\"og:description\" content=\"Regular Expression \u0111ang l\u00e0 s\u1ef1 quan t\u00e2m c\u1ee7a r\u1ea5t nhi\u1ec1u l\u1eadp tr\u00ecnh vi\u00ean. \u0110i\u1ec1u n\u00e0y th\u1ef1c s\u1ef1 l\u00e0 g\u00ec? Ch\u00fang ta h\u00e3y c\u00f9ng nhau t\u00ecm hi\u1ec3u nh\u00e9!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/\" \/>\n<meta property=\"og:site_name\" content=\"TEKY - H\u1ecdc vi\u1ec7n s\u00e1ng t\u1ea1o c\u00f4ng ngh\u1ec7\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TekyAcademy\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-26T13:58:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-29T07:33:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Bieu-thuc-chinh-quy-su-dung-trong-Regular-expression.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"650\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Kh\u00e1nh Kim\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@SteamTeky\" \/>\n<meta name=\"twitter:site\" content=\"@SteamTeky\" \/>\n<meta name=\"twitter:label1\" content=\"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kh\u00e1nh Kim\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 ph\u00fat\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/\"},\"author\":{\"name\":\"Kh\u00e1nh Kim\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/#\/schema\/person\/8f946d2123e4e2277107e392790a1bd6\"},\"headline\":\"Regular expression l\u00e0 g\u00ec? \u0110\u1ecbnh ngh\u0129a v\u00e0 t\u00ednh n\u0103ng c\u1ee7a n\u1ec1n t\u1ea3ng\",\"datePublished\":\"2023-10-26T13:58:12+00:00\",\"dateModified\":\"2023-10-29T07:33:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/\"},\"wordCount\":3196,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Bieu-thuc-chinh-quy-su-dung-trong-Regular-expression.jpg\",\"articleSection\":[\"IT - L\u1eadp tr\u00ecnh\"],\"inLanguage\":\"vi\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/\",\"url\":\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/\",\"name\":\"Regular expression l\u00e0 g\u00ec? \u0110\u1ecbnh ngh\u0129a v\u00e0 t\u00ednh n\u0103ng c\u1ee7a n\u1ec1n t\u1ea3ng\",\"isPartOf\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Bieu-thuc-chinh-quy-su-dung-trong-Regular-expression.jpg\",\"datePublished\":\"2023-10-26T13:58:12+00:00\",\"dateModified\":\"2023-10-29T07:33:41+00:00\",\"description\":\"Regular Expression \u0111ang l\u00e0 s\u1ef1 quan t\u00e2m c\u1ee7a r\u1ea5t nhi\u1ec1u l\u1eadp tr\u00ecnh vi\u00ean. \u0110i\u1ec1u n\u00e0y th\u1ef1c s\u1ef1 l\u00e0 g\u00ec? Ch\u00fang ta h\u00e3y c\u00f9ng nhau t\u00ecm hi\u1ec3u nh\u00e9!\",\"breadcrumb\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#breadcrumb\"},\"inLanguage\":\"vi\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#primaryimage\",\"url\":\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Bieu-thuc-chinh-quy-su-dung-trong-Regular-expression.jpg\",\"contentUrl\":\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Bieu-thuc-chinh-quy-su-dung-trong-Regular-expression.jpg\",\"width\":650,\"height\":400,\"caption\":\"Bi\u1ec3u th\u1ee9c ch\u00ednh quy s\u1eed d\u1ee5ng trong Regular expression\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"IT - L\u1eadp tr\u00ecnh\",\"item\":\"https:\/\/teky.edu.vn\/blog\/lap-trinh\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Regular expression l\u00e0 g\u00ec? \u0110\u1ecbnh ngh\u0129a v\u00e0 t\u00ednh n\u0103ng c\u1ee7a n\u1ec1n t\u1ea3ng\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/#website\",\"url\":\"https:\/\/teky.edu.vn\/blog\/\",\"name\":\"TEKY - H\u1ecdc vi\u1ec7n s\u00e1ng t\u1ea1o c\u00f4ng ngh\u1ec7\",\"description\":\"Tr\u1ebb em c\u1ea7n h\u1ecdc l\u1eadp tr\u00ecnh\",\"publisher\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/teky.edu.vn\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"vi\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/#organization\",\"name\":\"TEKY - H\u1ecdc vi\u1ec7n s\u00e1ng t\u1ea1o c\u00f4ng ngh\u1ec7\",\"url\":\"https:\/\/teky.edu.vn\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/02\/logo-teky.png\",\"contentUrl\":\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/02\/logo-teky.png\",\"width\":495,\"height\":234,\"caption\":\"TEKY - H\u1ecdc vi\u1ec7n s\u00e1ng t\u1ea1o c\u00f4ng ngh\u1ec7\"},\"image\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/TekyAcademy\",\"https:\/\/x.com\/SteamTeky\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/#\/schema\/person\/8f946d2123e4e2277107e392790a1bd6\",\"name\":\"Kh\u00e1nh Kim\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ab08c4bbf1d0787f26b32ab04d2cb7e329a3a082ea3dcb6ba78fb27076b856a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ab08c4bbf1d0787f26b32ab04d2cb7e329a3a082ea3dcb6ba78fb27076b856a9?s=96&d=mm&r=g\",\"caption\":\"Kh\u00e1nh Kim\"},\"url\":\"https:\/\/teky.edu.vn\/blog\/author\/kimkhanh\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Regular expression l\u00e0 g\u00ec? \u0110\u1ecbnh ngh\u0129a v\u00e0 t\u00ednh n\u0103ng c\u1ee7a n\u1ec1n t\u1ea3ng","description":"Regular Expression \u0111ang l\u00e0 s\u1ef1 quan t\u00e2m c\u1ee7a r\u1ea5t nhi\u1ec1u l\u1eadp tr\u00ecnh vi\u00ean. \u0110i\u1ec1u n\u00e0y th\u1ef1c s\u1ef1 l\u00e0 g\u00ec? Ch\u00fang ta h\u00e3y c\u00f9ng nhau t\u00ecm hi\u1ec3u nh\u00e9!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/","og_locale":"vi_VN","og_type":"article","og_title":"Regular expression l\u00e0 g\u00ec? \u0110\u1ecbnh ngh\u0129a v\u00e0 t\u00ednh n\u0103ng c\u1ee7a n\u1ec1n t\u1ea3ng","og_description":"Regular Expression \u0111ang l\u00e0 s\u1ef1 quan t\u00e2m c\u1ee7a r\u1ea5t nhi\u1ec1u l\u1eadp tr\u00ecnh vi\u00ean. \u0110i\u1ec1u n\u00e0y th\u1ef1c s\u1ef1 l\u00e0 g\u00ec? Ch\u00fang ta h\u00e3y c\u00f9ng nhau t\u00ecm hi\u1ec3u nh\u00e9!","og_url":"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/","og_site_name":"TEKY - H\u1ecdc vi\u1ec7n s\u00e1ng t\u1ea1o c\u00f4ng ngh\u1ec7","article_publisher":"https:\/\/www.facebook.com\/TekyAcademy","article_published_time":"2023-10-26T13:58:12+00:00","article_modified_time":"2023-10-29T07:33:41+00:00","og_image":[{"width":650,"height":400,"url":"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Bieu-thuc-chinh-quy-su-dung-trong-Regular-expression.jpg","type":"image\/jpeg"}],"author":"Kh\u00e1nh Kim","twitter_card":"summary_large_image","twitter_creator":"@SteamTeky","twitter_site":"@SteamTeky","twitter_misc":{"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi":"Kh\u00e1nh Kim","\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc":"13 ph\u00fat"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#article","isPartOf":{"@id":"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/"},"author":{"name":"Kh\u00e1nh Kim","@id":"https:\/\/teky.edu.vn\/blog\/#\/schema\/person\/8f946d2123e4e2277107e392790a1bd6"},"headline":"Regular expression l\u00e0 g\u00ec? \u0110\u1ecbnh ngh\u0129a v\u00e0 t\u00ednh n\u0103ng c\u1ee7a n\u1ec1n t\u1ea3ng","datePublished":"2023-10-26T13:58:12+00:00","dateModified":"2023-10-29T07:33:41+00:00","mainEntityOfPage":{"@id":"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/"},"wordCount":3196,"commentCount":0,"publisher":{"@id":"https:\/\/teky.edu.vn\/blog\/#organization"},"image":{"@id":"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#primaryimage"},"thumbnailUrl":"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Bieu-thuc-chinh-quy-su-dung-trong-Regular-expression.jpg","articleSection":["IT - L\u1eadp tr\u00ecnh"],"inLanguage":"vi","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/","url":"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/","name":"Regular expression l\u00e0 g\u00ec? \u0110\u1ecbnh ngh\u0129a v\u00e0 t\u00ednh n\u0103ng c\u1ee7a n\u1ec1n t\u1ea3ng","isPartOf":{"@id":"https:\/\/teky.edu.vn\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#primaryimage"},"image":{"@id":"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#primaryimage"},"thumbnailUrl":"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Bieu-thuc-chinh-quy-su-dung-trong-Regular-expression.jpg","datePublished":"2023-10-26T13:58:12+00:00","dateModified":"2023-10-29T07:33:41+00:00","description":"Regular Expression \u0111ang l\u00e0 s\u1ef1 quan t\u00e2m c\u1ee7a r\u1ea5t nhi\u1ec1u l\u1eadp tr\u00ecnh vi\u00ean. \u0110i\u1ec1u n\u00e0y th\u1ef1c s\u1ef1 l\u00e0 g\u00ec? Ch\u00fang ta h\u00e3y c\u00f9ng nhau t\u00ecm hi\u1ec3u nh\u00e9!","breadcrumb":{"@id":"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#breadcrumb"},"inLanguage":"vi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/"]}]},{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#primaryimage","url":"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Bieu-thuc-chinh-quy-su-dung-trong-Regular-expression.jpg","contentUrl":"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/08\/Bieu-thuc-chinh-quy-su-dung-trong-Regular-expression.jpg","width":650,"height":400,"caption":"Bi\u1ec3u th\u1ee9c ch\u00ednh quy s\u1eed d\u1ee5ng trong Regular expression"},{"@type":"BreadcrumbList","@id":"https:\/\/teky.edu.vn\/blog\/regular-expression-la-gi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"IT - L\u1eadp tr\u00ecnh","item":"https:\/\/teky.edu.vn\/blog\/lap-trinh\/"},{"@type":"ListItem","position":2,"name":"Regular expression l\u00e0 g\u00ec? \u0110\u1ecbnh ngh\u0129a v\u00e0 t\u00ednh n\u0103ng c\u1ee7a n\u1ec1n t\u1ea3ng"}]},{"@type":"WebSite","@id":"https:\/\/teky.edu.vn\/blog\/#website","url":"https:\/\/teky.edu.vn\/blog\/","name":"TEKY - H\u1ecdc vi\u1ec7n s\u00e1ng t\u1ea1o c\u00f4ng ngh\u1ec7","description":"Tr\u1ebb em c\u1ea7n h\u1ecdc l\u1eadp tr\u00ecnh","publisher":{"@id":"https:\/\/teky.edu.vn\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/teky.edu.vn\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"vi"},{"@type":"Organization","@id":"https:\/\/teky.edu.vn\/blog\/#organization","name":"TEKY - H\u1ecdc vi\u1ec7n s\u00e1ng t\u1ea1o c\u00f4ng ngh\u1ec7","url":"https:\/\/teky.edu.vn\/blog\/","logo":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/teky.edu.vn\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/02\/logo-teky.png","contentUrl":"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/02\/logo-teky.png","width":495,"height":234,"caption":"TEKY - H\u1ecdc vi\u1ec7n s\u00e1ng t\u1ea1o c\u00f4ng ngh\u1ec7"},"image":{"@id":"https:\/\/teky.edu.vn\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TekyAcademy","https:\/\/x.com\/SteamTeky"]},{"@type":"Person","@id":"https:\/\/teky.edu.vn\/blog\/#\/schema\/person\/8f946d2123e4e2277107e392790a1bd6","name":"Kh\u00e1nh Kim","image":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/teky.edu.vn\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ab08c4bbf1d0787f26b32ab04d2cb7e329a3a082ea3dcb6ba78fb27076b856a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ab08c4bbf1d0787f26b32ab04d2cb7e329a3a082ea3dcb6ba78fb27076b856a9?s=96&d=mm&r=g","caption":"Kh\u00e1nh Kim"},"url":"https:\/\/teky.edu.vn\/blog\/author\/kimkhanh\/"}]}},"_links":{"self":[{"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/posts\/8402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/comments?post=8402"}],"version-history":[{"count":3,"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/posts\/8402\/revisions"}],"predecessor-version":[{"id":23028,"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/posts\/8402\/revisions\/23028"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/media\/8413"}],"wp:attachment":[{"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/media?parent=8402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/categories?post=8402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/tags?post=8402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}