character | describe |
---|
\ | Marks the next character as a special character, or a literal character, or a backward reference, or an octal escape character. For example, "n" matches the character "n". " n" matches a newline character. The sequence "\" matches "" and " (" matches " ("). |
---|
^ | Matches the starting position of the input string. If the Multiline property of the RegExp object is set, ^ also matches the position after " n" or " r". |
---|
$ | Matches the end position of the input string. If the RegExp object's Multiline property is set, $ also matches the position before "\n" or "\r". |
---|
* | Matches the preceding subexpression zero or more times. For example, zo * can match "z" and "zoo". * is equivalent to {0,}. |
---|
+ | Matches the preceding subexpression one or more times. For example, "zo +" matches "zo" and "zoo", but not "z". + is equivalent to {1,}. |
---|
? | Matches the preceding subexpression zero or once. For example, "do (es)?" can match "do" in "do" or "does".? is equivalent to {0,1}. |
---|
{n} | n একটি অসংখ্য-negative integer. Matches certain n times. For example, "o {2" does not match the "o" in "Bob", but it does match two o's in "food". |
---|
{n,} | n একটি অসংখ্য-negative integer. Matches at least n times. For example, "o {2,}" does not match "o" in "Bob", but does match all o in "foooood". "o {1,}" is equivalent to "o +". "o {0,}" is equivalent to "o *". |
---|
{n,m} | m and n are both non-negative integers, where n <= m. Match at least n times and at most m times. For example, "o {1,3}" will match the first three o's in "fooooood". "o {0,1}" is equivalent to "o?". Note that there can be no spaces between commas and two numbers. |
---|
? | When the character immediately follows any other constraint(*,+,?،{n},{n,},{n,m}),the matching pattern is non greedy. The non greedy mode matches the searched string as little as possible, while the default greedy mode matches the searched string as much as possible.For example, for string "oooo", "o +?" will match a single "o", and "o +" will match all "o". |
---|
. | Matches any single character except " n". To match any character including " n", use a pattern like "[.n]". |
---|
(pattern) | Matches the pattern and gets the match. The obtained match can be obtained from the resulting Matches collection, using the SubMatches collection in VBScript and the 0 dollars... 9 dollars attribute in JScript. To match parenthesis characters, use " (" or ") ". |
---|
(?:pattern) | Matches a pattern but does not obtain a match result, that is, it is a non-fetching match and is not stored for later use. This is useful when using the or character " (|) " to combine parts of a pattern. For example, "industr (?: y | ies) " is a shorter expression than "industry | industries". |
---|
(?=pattern) | Forward lookup matches the lookup string at the beginning of any string that matches the pattern. This is a non-fetch match, অর্থাৎ, পরবর্তীতে ব্যবহারের জন্য ম্যাচটি পাওয়া নয় হতে হয়। উদাহরণ হিসাবে, "Windows (? = 95 | 98 | NT | 2000) "-এর সমতুল্য হল "Windows" in "Windows"2000", কিন্তু "Windows"-এর "Windows"-তে নয়。3.1". একটি লুকআপ অক্ষরগুলো ব্যবহার করে না, অর্থাৎ, ম্যাচ হওয়ার পর, পরবর্তী ম্যাচটির খোঁজ সরাসরি সর্বশেষ ম্যাচটির পরেই শুরু হয়, না তার অক্ষরটির পরে। |
---|
(?!pattern) | নেতিবাচক অনুসন্ধান অনুসন্ধান শব্দটি যে কোনো শব্দের শুরুতে মিলে যায়, যা প্যাটার্ন-এর সমতুল্য নয়। এটি একটি-অনুসন্ধান, অর্থাৎ, পরবর্তী ব্যবহারের জন্য অনুসন্ধানটি পাওয়া হয় না। উদাহরণস্বরূপ, "Windows (?! 95 | 98 | NT | 2000) "-এর সমতুল্য হল "Windows" in "Windows"3.1", কিন্তু "Windows" in "Windows"-এর নয়2000"। একটি অনুসন্ধান চারটি ব্যবহার করে না, অর্থাৎ, যখন মিলতে পারে, পরবর্তী মিলতের অনুসন্ধান শুরু করে, একটি অনুসন্ধান চারটির পরে |
---|
x|y | x বা y। উদাহরণস্বরূপ, "z | food"-এর সমতুল্য হল "z" বা "food"। " (z | f) ood"-এর সমতুল্য হল "zood" বা "food" |
---|
[xyz] | অক্ষর সময়কাল। নির্দিষ্ট সময়ের মধ্যে কোনো অক্ষর |
---|
[^abc] | নেতিবাচক অক্ষরের সময়কাল। নির্দিষ্ট সময়ের মধ্যে কোনো অক্ষর |
---|
[a-zA-Z0-9]-[^a-zA-Z0-9] | অক্ষর সময়কাল। নির্দিষ্ট সময়ের মধ্যে কোনো অক্ষর-[a-zA-Z0-9] |
---|
z]" এর সমতুল্য হল যে কোনো নিম্নক্রমের ক্ষুদ্র অক্ষর-[^a-zA-Z0-9] | নেতিবাচক চারটি। নির্দিষ্ট সময়ের বাইরে কোনো অক্ষর। উদাহরণস্বরূপ, "[^ a-zA-Z0-9]"-এর সমতুল্য হল "p" in "plain"-z]" এর সমতুল্য হল যে কোনো অক্ষর, যা "a" থেকে "z"-এর মধ্যে নেই |
---|
\b | শব্দ সীমানা। যা শব্দ এবং স্পেসের মধ্যের স্থান নির্দেশ করে। উদাহরণস্বরূপ, "er b"-এর সমতুল্য হল "er" in "never", কিন্তু নয় "er" in "verb" |
---|
\B | অন্যান্য-শব্দ সীমানা। "er B"-এর সমতুল্য হল "er" in "verb", কিন্তু নয় "er" in "never" |
---|
\cx | x-দ্বারা নির্দিষ্ট কন্ট্রোল চারটি। উদাহরণস্বরূপ, cM-এর সমতুল্য হল Control-M বা কার্রিজ রিটার্ন। x-এর মান হতে হবে A-Z বা a-z। অন্যথায় c-কে লিটারাল "c" চারটি হিসাবে ব্যবহার করা হয় |
---|
\d | সংখ্যাকৃতি। এটি [0-9] এর সমতুল্য-9]. |
---|
\D | অন্যান্য-সংখ্যাকৃতি। এটি [^ 0-9] এর সমতুল্য-9]. |
---|
\f | পৃষ্ঠ ফিড চারটি। এটি \x0c এবং \cL-এর সমতুল্য |
---|
\n | নলবিন্যাস চারটি। এটি \x0a এবং \cJ-এর সমতুল্য |
---|
\r | Matches a carriage return. Equivalent to \x0d and \cM. |
---|
\s | Matches any whitespace character, including spaces, tabs, page feeds, etc. Equivalent to [\f\n\r\t\v]. |
---|
\S | Matches any non-whitespace character. Equivalent to [^\f\n\r\t\v]. |
---|
\t | Matches a tab. Equivalent to \x09 and \cI. |
---|
\v | Matches a vertical tab. Equivalent to \x0b and \cK. |
---|
\w | Matches any word character that includes an underscore. Equivalent to "[A-Za-z0-9]". |
---|
\W | Matches any non-word character. Equivalent to "[^ A-Za-z0-9]". |
---|
\xn | Matches n, where n is the hexadecimal escape value. The hexadecimal escape value must be the length of the identified two numbers. For example, " \x41" matches "A". " \x041" is equivalent to " \x04 & 1". ASCII encoding can be used in regular expressions.. |
---|
\num | Matches num, where num is a positive integer. A reference to the match obtained. For example, " (.) 1" দুটি পরস্পরসমান চার্যাকর সাথে ম্যাচ করে |
---|
\n | এককসংখ্যার এসকেপ মান বা পশ্চাতার সূচক পরিচিত করে।যদি \n এর আগে n অধিগ্রহণকারী সাবএক্সপ্রেসনসমূহ থাকে, তবে n পশ্চাতার সূচক হবে।অন্যথায়, যদি n এককসংখ্যা (0-7), তবে n এককসংখ্যার এসকেপ মান হবে。 |
---|
\nm | এককসংখ্যার এসকেপ মান বা পশ্চাতার সূচক পরিচিত করে।Nm পশ্চাতার সূচক হবে যদি nm এর আগে nm অধিগ্রহণকারী এক্সপ্রেসনসমূহ থাকে।যদি \nm এর আগে n অধিগ্রহণকারী থাকে, তবে n এর পরে লিটারাল m দ্বারা পশ্চাতার সূচক থাকবে।যদি এই কোনওভাবেই পূর্বসূচক শর্ত মেটানো না হয়, যদি n এবং m এককসংখ্যা (0-7), তবে nm এককসংখ্যার এসকেপ মান nm সাথে ম্যাচ করবে。 |
---|
\nml | যদি n এককসংখ্যা (0-3), এবং উভয় m এবং l এককসংখ্যা (0-7), এককসংখ্যার এসকেপ মান nml সাথে ম্যাচ করা হয়。 |
---|
\un | ম্যাচ n, যেখানে n একটি চার হেক্সাডেসিমাল ডিজিট দ্বারা প্রতিনিধিত ইউনিকোড চার্যাকর9 কপিরাইট সিগন্যাল (©) সাথে ম্যাচ করে |
---|