Introduction to Regular Expression Testing Tools

The regular expression testing tool provides you with JS regular expression verification, regular expression verification, regular expression verification, regular expression testing tools, which can be used to customize regular expressions to extract text content, validate arbitrary regular expressions, extract URLs from regular expressions, and format regular expressions online. I hope it will be helpful to everyone.


အက္ခရာ ပုံစံများ အသုံးပြုခြင်း

အသုံးပြုထားသော အက္ခရာ တစ်ခု ကို အသုံးပြု၍ အချက်အလက် များ ကို မှတ်ယူ ပြီး မှတ်ယူထားသော အချက်အလက် များ နှင့် ကို ကူးစက် လေ့လာ ရန် အသုံးပြုသော အချက်အလက် ပုံစံများ ဖြစ်သည် (ဥပမာ၊ a မှ z အက္ခရာ အကြား) နှင့် အက္ခရာ (အမည်ပြုထားသော အက္ခရာ ဟု ခေါ်) ပါဝင်သည်။ အက္ခရာ ပုံစံများ သည် အသုံးပြုထားသော အချက်အလက် များ ကို မှတ်ယူ ပြီး အချက်အလက် များ ကို ကူးစက် လေ့လာ ရန် အသုံးပြုသော အချက်အလက် ပုံစံများ ဖြစ်သည်။ အက္ခရာ ပုံစံများ သည် လိမ့်မှာ ဖြစ်သည်မှာပင် အားရှိသည်။ သူတို့ကို သိပါက သူတို့သည် အပြည့်အဝင် အောင်ပွဲ အထူးသဖြင့် အကျိုးကျေးဇူး ပေးသည် အပြင် အချိန်ကို ကျသွားသည်။ အချို့ ပရိုဂရမ် နှင့် အက္ခရာ ပုံစံများ ကို အသုံးပြုသည်။

အသုံးပြုထားသော အက္ခရာ
စက္ကူexplain
.အချိန်ချိုး အစား မပါဘဲ
\wအက္ခရာ သို့မဟုတ် ကုန်း သို့မဟုတ် အောက်ပါလုံး
\sအချိန်ချိုး အစား
\dစကားလုံး မှတ်ယူ
\bစကားလုံး စတင် သို့မဟုတ် အဆုံး မှတ်ယူ
^သတင်းချက် စတင်
$သတင်းချက် အဖြစ် မှတ်ယူ
အသုံးပြုထားသော အက္ခရာ
Code/Syntaxexplain
*ပြန်လည်ပြောင်းလဲကုန်း ကြား သို့မဟုတ် ပိုများ
+ပြန်လည်ပြောင်းလဲကုန်း တစ်ကုန်း သို့မဟုတ် ပိုများ
?ပြန်လည်ပြောင်းလဲကုန်း တစ်ကုန်း သို့မဟုတ် ကြား
{n}ပြန်လည်ပြောင်းလဲကုန်း ကုန်း
{n,}ပြန်လည်ပြောင်းလဲကုန်း နှင့် ပိုများ
{n,m}ပြန်လည်ပြောင်းလဲကုန်း နှင့် m အထိ
common antonym
Code/Syntaxexplain
\WMatches any character that is not a letter, number, underscore, or kanji
\SMatches any character that is not a whitespace character
\DMatches any non-numeric characters
\BMatch is not where words begin or end
[^x]Matches any character except x
[^aeiou]Matches any character except the letters aeiou

Regular Expression Reference Encyclopedia

characterdescribe
^\d+$စောင့်ရှာ non-negative integers (positive integers + 0)
//Matches the integer ^\d+(\.\d+)?$စောင့်ရှာ non-negative floating-ဖြန့်မှီးသုံး အချက်အလက် (positive floating-ဖြန့်မှီးသုံး အချက်အလက် + 0)
^(([0-9]+\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\.[0-9]+)|([0-9]*[1-9][0-9]*))$//စောင့်ရှာ positive floating-ဖြန့်မှီးသုံး အချက်အလက်
^((-\d+(\.\d+)?)|(0+(\.0+)?))$စောင့်ရှာ non-positive floating-ဖြန့်မှီးသုံး အချက်အလက် (negative floating-ဖြန့်မှီးသုံး အချက်အလက် + 0)
^(-(([0-9]+\.[0-9]*[1-9][0-9]*)|([0-9]*[1-9][0-9]*\.[0-9]+)|([0-9]*[1-9][0-9]*))$//စောင့်ရှာ negative floating-ဖြန့်မှီးသုံး အချက်အလက်
^(-?\d+)(\.\d+)?$//စောင့်ရှာ floating-ဖြန့်မှီးသုံး အချက်အလက်
^[A-Za-z]+$စောင့်ရှာ အချက်အလက် ပါဝင်သော 26 အင်္ဂလိပ် လိုင်းအိမ်းရိုးလိုင်း
^[A-Z]+$စောင့်ရှာ အချက်အလက် ပါဝင်သော 26 အင်္ဂလိပ် လိုင်းအိမ်းရိုးလိုင်း
^[a-z]+$စောင့်ရှာ အချက်အလက် ပါဝင်သော 26 နော်တိုင် လိုင်းအိမ်းရိုးလိုင်း
^[A-Za-z0-9]+$စောင့်ရှာ အချက်အလက် ပါဝင်သော 26 လိုင်းအိမ်းရိုးလိုင်း
^\w+$အချက်အလက် ပါဝင်သော အက်စ် အော်ခေါ်စက် 26 လိုင်းအိမ်းရိုးလိုင်း သို့မဟုတ် လုံးဝ
^[\w-]+(\.[\w-]+)*@\w-]+(\.[\w-]+)+$//စောင့်ရှာ email address
^[a-zA-z]+://စောင့်ရှာ(\w+(-\w+)*)(\.(\w+(-\w+)*))*(\?\S*)?$//စောင့်ရှာ url
[\u4e00-\u9fa5]အချက်အလက် ဖြင့် အမော်ရိုး စောင့်ရှာ
[^\x00-\xff]ပုံမှန် စောင့်ရှာ-အက်ပ် အကျုံး (တိုက်သုံး လိုင်းအိမ်းရိုးလိုင်း)
\n[\s| ]*\rအချက်အလက် ဖြင့် ဘလူးကြီး စောင့်ရှာ
/<(.*)>.*<\/>|<(.*)\/>/HTML ချက် စောင့်ရှာ
(^\s*)|(\s*$)အချက်အလက် ဖြင့် အပြောင်းအလဲ-ထဲ-အပြောင်းအလဲ
\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*အချက်အလက် ဖြင့် အိမ်းရိုးလိုင်း စောင့်ရှာ
^[a-zA-z]+://(\w+(-\w+)*)(\.(\w+(-\w+)*))*(\?\S*)?$အချက်အလက် ဖြင့် URL စောင့်ရှာ
^[a-zA-Z][a-zA-Z0-9_]{4,15}$စာရင်း ဖြစ်သလဲ့ စောင့်ရှာ (အက်စ် ဖြင့် စတင်) 5-16 အက်ဒေးလာ အော်ခေါ်စက် လုံးဝနှင့် လုံးဝ
(\d{3}-|\d{4}-)?(\d{8}|\d{7})?နိုင်ငံတကာ ဖုန်းခွဲစက် စောင့်ရှာ
^[1-9]*[1-9][0-9]*$Tencent QQ အော်ခေါ်စက် စောင့်ရှာ
သင်၏ ဇာတ်ကြော်: