skip to main | skip to sidebar
A new way to teach and disseminate knowledge in all fields Without a monopoly
أندرويد (38) برامج وتطبيقات (32) ويندوز (29) برمجة (22) ألعاب (16) يوتوب (13)
  • الرئيسيةHOME 🏠
❤🚭welcome to https://er-ramimohamed.blogspot.com/ please if ou have any question or suggestion dont heisting 🚭 to send it to me at erramixx@gmail.com thanks محمــــــــــــد الــــــــــــــــرامي يرحبكم ويتمنى لــــــــــكم ان تقضوا 🌹🌹وقت مفيد
‏إظهار الرسائل ذات التسميات برمجة. إظهار كافة الرسائل
‏إظهار الرسائل ذات التسميات برمجة. إظهار كافة الرسائل

الخميس، 23 يونيو 2022

Money Mule CYBER CRIME

يونيو 23, 2022 ERRAMI لا يوجد تعليقات

 

Money Mules


 

Don’t Be a Mule: Awareness Can Prevent Crime

What Is a Money Mule?


 

A money mule is someone who transfers or moves illegally acquired money on behalf of someone else.

Criminals recruit money mules to help launder proceeds derived from online scams and frauds or crimes like human trafficking and drug trafficking. Money mules add layers of distance between crime victims and criminals, which makes it harder for law enforcement to accurately trace money trails.

Money mules can move funds in various ways, including through bank accounts, cashier’s checks, virtual currency, prepaid debit cards, or money service businesses.

Some money mules know they are supporting criminal enterprises; others are unaware that they are helping criminals profit.

Money mules often receive a commission for their service, or they might provide assistance because they believe they have a trusting or romantic relationship with the individual who is asking for help.

If you are moving money at the direction of another person, you may be serving as a money mule.

What Are the Consequences?


 

Acting as a money mule is illegal and punishable, even if you aren’t aware you’re committing a crime.

If you are a money mule, you could be prosecuted and incarcerated as part of a criminal money laundering conspiracy. Some of the federal charges you could face include mail fraud, wire fraud, bank fraud, money laundering, and aggravated identity theft.

Serving as a money mule can also damage your credit and financial standing. Additionally, you risk having your own personally identifiable information stolen and used by the criminals you are working for, and you may be held personally liable for repaying money lost by victims.

Who Is at Risk? 

Criminals often target students, those looking for work, or those on dating websites, but anyone can be approached to be a money mule.

What Are the Signs?


 

Work-from-Home Job Opportunities

  • You received an unsolicited email or social media message that promises easy money for little or no effort.
  • The “employer” you communicate with uses web-based email services (such as Gmail, Yahoo, Hotmail, Outlook, etc.).
  • You are asked to open a bank account in your own name or in the name of a company you form to receive and transfer money.
  • As an employee, you are asked to receive funds in your bank account and then “process” or “transfer” funds via: wire transfer, ACH, mail, or money service business (such as Western Union or MoneyGram).
  • You are allowed to keep a portion of the money you transfer.
  • Your duties have no specific job description.

Dating and Social Media Sites

  • An online contact or companion, whom you have never met in person, asks you to receive money and then forward these funds to one or more individuals you do not know.

Protect Yourself 

  • Perform online searches to check the legitimacy of any company that offers you a job.
  • Do not accept any job offers that ask you to use your own bank account to transfer money. A legitimate company will not ask you to do this.
  • Be wary if an employer asks you to form a company to open up a new bank account.
  • Be suspicious if an individual you met on a dating website wants to use your bank account for receiving and forwarding money.
  • Never give your financial details to someone you don’t know and trust, especially if you met them online.

For more detail visit this website 
https://www.fbi.gov/scams-and-safety/common-scams-and-crimes/money-mules
تابع القراءة readmore »

الأربعاء، 19 مايو 2021

easily RUN windows 10 in android mobile devices using termux 2021

مايو 19, 2021 ERRAMI لا يوجد تعليقات

 

 Install Windows 10 on Android  Termux



  

 OCT 5, 2020


mohamed errami  by



In this article, learn how to install and run Windows 10 on Android Phone using a simple terminal app i.e Termux by using Qemu in it.

This guide is very interesting as this will make you understand how powerful a Linux terminal can be so without wasting any more time let’s start this guide.

To begin, you need to download and install the below-required files:

  • Windows 10 ISO
  • Termux
  • VNC Viewer

Copy Windows 10 iso to your smartphone’s Internal or External Storage.

Here are the steps to run Windows 10 on Termux on any Android devices.

How to Install and Run Windows 10 on Termux on Android Phone

1. First, launch Termux app and type “apt update && apt upgrade –y” and press Enter.

2. Then, type “pkg install x11-repo” and press Enter.

3. After that, install the required Qemu package for this type “pkg install qemu-system-x86_64” and press Enter.

4. Now type “termux-setup-storage” and press Enter. This will to give the storage access to the Termux.

5. Type “qemu-system-x86_64 -m 960 -cdrom /sdcard/imgcache/Win10CDv2/Win10XPE.iso -vnc 127.0.0.1:2” and press Enter to start the connection.

Notes: Remember the location of downloaded Windows 10 file on your Android Phone.

6. Now open VNC Viewer, add new connection type address “127.0.0.1:2” and enter the name the to machine like “Windows 10” and click on on Create button.

After connection enjoys the system.

Hope something helps you.

تابع القراءة readmore »

السبت، 24 أكتوبر 2020

Xiaomi launches a new line of clothes with built-in heating to counteract the cold

أكتوبر 24, 2020 ERRAMI لا يوجد تعليقات

 

  Are you someone who always has a cold and would you carry something that warms you up with you if you could? Obviously, if yes, then the arrival of the coldest time of the year gets you caught up in the matter.

Well, I regret to tell you that you don't have the solution to carry the stove with you, but Xiaomi has thought of something you might like.

We used to the Chinese company inventions in all kinds ... Now it is launching a product that is not so new, as we have seen before, but ideal for the coming months when we will have to live in cold weather.

  The idea is a jacket with built-in heating from Xiaomi, which is not new, but the new clothing line is new. Because, in addition to the classic heated jacket, Xiaomi has also launched hot jackets in the market through Youpin store.

All these models of jackets have a heated area on the torso, back and neck and you can choose between four different temperatures: 53, 48, 43 and 38 ° C.

The temperature is selected by a switch with LEDs that illuminate in turn white, green, purple and red.

As with other models, the jackets include a pocket to insert the power bank in which they will be charged.

In return, the cost of the sleeveless jacket will be 29 euros; The short version with a hood of 50 euros and the long one with a hood of 75 euros, but at the moment it is only available in China, and if they reach the rest of the markets, they will likely cost a higher price.


تابع القراءة readmore »

Apple AR glasses will be able to compare products before purchasing them

أكتوبر 24, 2020 ERRAMI لا يوجد تعليقات

 



  Apple is preparing its own augmented reality glasses, and their functionality is getting more and more clear. Now more details are being revealed thanks to a patent unveiled at Patently Apple.

Apple clearly wants that with smart glasses, it is possible to compare the prices of the products we see on the streets. We'll just have to look at these products with glasses and see the information on the lens, along with the prices and characteristics of each.

Unlocking the mobile phone and searching for the name of each product from the search engine might not be very effective. With glasses, we can get price, description, category, ratings, reviews, etc. It is not yet known where the glasses will get this information, because at the moment it is only a patent, and not a real product.

The problem is that the rumors of Apple smart glasses do not stop, but we have been waiting for them for years and there is no official date, prices or intentions. They are patents, as it is clear that Apple is preparing innovative ideas in this regard and does not want to compete with the same products already on the market.

You can read more about the patent at appft1.uspto.gov

تابع القراءة readmore »

الجمعة، 27 سبتمبر 2019

Fɪɴᴀʟʟʏ ᴀ ᴄᴏᴍᴘᴜᴛᴇʀ ᴛʜᴀᴛ ᴍɪᴍɪᴄs ᴛʜᴇ ʜᴜᴍᴀɴ ʙʀᴀɪɴ. SᴘɪNNᴀᴋᴇʀ ɪs ᴛʜᴇ ᴍᴏsᴛ ᴘᴏᴡᴇʀғᴜʟ ᴄᴏᴍᴘᴜᴛᴇʀ ɪɴ ᴛʜᴇ ᴡᴏʀʟᴅ

سبتمبر 27, 2019 ERRAMI لا يوجد تعليقات


Since the invention of computers and developers have been striving to invent the most powerful devices as governments and large companies seek to own the strongest computers that are used in encryption and decryption counter.

After 12 years of research and development and spending more than $ 15 million, a supercomputer capable of emulating the human mind has finally been named SpiNNaker, where it can perform 200 trillion operations per second.  
Unlike ordinary computers that send a large amount of data from one point to another, this supercomputer sends data to many points at the same time the so-called parallel communication engineering and
with all these capabilities, this computer can simulate only about one billion neurons while the brain Humans contain about 100 billion neurons
Seeks developers team SpiNNaker to use the supercomputer to explore the secrets of the human brain as well as in artificial intelligence in order to make robots 
--------------

تابع القراءة readmore »

N͟o͟w͟ ͟F͟a͟c͟e͟b͟o͟o͟k͟ ͟c͟a͟n͟ ͟r͟e͟a͟d͟ ͟y͟o͟u͟r͟ ͟m͟i͟n͟d͟ ͟a͟n͟d͟ ͟j͟o͟t͟ ͟d͟o͟w͟n͟ ͟w͟h͟a͟t͟ ͟y͟o͟u͟ ͟t͟h͟i͟n͟k͟

سبتمبر 27, 2019 ERRAMI لا يوجد تعليقات


Thanks to a team of scientists supported by Facebook Reality Labs at the University of California, researchers have just published the results of an experiment to decrypt words that are just ideas, not spoken sentences using electrodes implanted in the skull. In practice, Facebook can now literally read entire words and phrases from your mind.
People will then be able to type text on a computer by simply thinking about it, using a virtual keyboard in times of difficulty. In this experiment, published today in Nature Communications, the subjects listened to multiple-choice questions and expressed their answers aloud. A group of electrodes recorded activities in parts of their brains associated with understanding and producing language, looking for patterns that correspond to specific words and phrases in real time.

Although we will never see this mind reading technology in future Facebook products, or at least in the near future, researchers may use it to improve the lives of people who can't speak because of paralysis or other problems. "Currently, patients with paralysis speech loss are limited to saying words very slowly," according to one researcher.
--------------
تابع القراءة readmore »

الجمعة، 7 يونيو 2019

sᴇᴛ ᴜᴘ ʏᴏᴜʀ sɪᴛᴇ ᴛᴏ ᴍᴇᴀsᴜʀᴇ ᴛʜᴇ sᴘᴇᴇᴅ ᴏғ ᴛʜᴇ Iɴᴛᴇʀɴᴇᴛ ɪɴ ᴀ ᴍᴀᴛᴛᴇʀ ᴏ

يونيو 07, 2019 ERRAMI لا يوجد تعليقات

  today's idea is focused on Internet speed measurement sites.
 It is nice to explain that the explanation is in Arabic and on the Facebook network, where someone share all the files you need to build this site with detailed explanation and all this through the following link: 
Build Fast Speed
where after entering the publication you will find everything is annotated and available to download as free as the picture

You will be able to install Google Adsense ads on the site to make monthly payments.
تابع القراءة readmore »

الأحد، 14 أبريل 2019

Re[gul]ar Expr[essio]n

أبريل 14, 2019 ERRAMI لا يوجد تعليقات

السلام عليكم ورحمة الله
۞ الحمد لله رب العالمين والصلاة والسلام على سيدنا محمد صلى الله عليه و سلم ۞ 
اللهم لا علم لنا الا ماعلمتنا إنك أنت الحكيم العليم ،
اللهم علمنا ما ينفعنا وانفعنا بما علمتنا وزدنا علما ، وارنا الحق حقا وارزقنا اتباعه
وارنا الباطل باطلا وارزقنا اجتنابه واجعلنا ممن يستمعون القول فيتبعون أحسنه ،
وأدخلنا برحمتك في عبادك الصالحين ،
أما بعد. 

  
اليوم إن شاء الله أردت تقديم لكم موضوع حول التعابير القياسية أو التعابير النمطية
والمعروفة ب
Regular Expression
والتي يرمز لها ب :
RegEx أو RegExp

re[gul]arexpr[essio]n 


الهدف : سنحاول بإدن الله في هدا الموضوع تبسيط Pattern بشكل سلس ومبسط لتستطيع فهمه بشكل أدق 

نبدأ بالتعريف والمفاهيم الأساسية :
ماهي الـ Regex؟
هي اختصار لـكلمة Regular Expressions ومعناها الحرفي : التعابير النمطية أو القياسية، وهي تقنية تستخدم في معالجة النصوص (String)
ودلك بهدف البحث، أو المطابقة بين سلاسل من الأحرف، أو المقارنة، أو جلب جزء معين من النص حسب شرط محدد
وتعتمد هده التقنية أساسا علــى مـا يسـمـى بالـ Pattern وهي عبارة عن مجموعة رموز تستخدم للتحقق والتمييز بين الأرقام والحروف وأشياء عديدة... سنحاول شرحها بإدن الله
مطور هده التقنية أو بالأحرى هو من ساعد في تطويرها بشكل كبير  :

American mathematician : Stephen Cole Kleene
لقرائة المزيد حول تاريخ هده التقنية :
https://en.wikipedia.org/wiki/ Regular_expression 
إيجابيات هده التقنية :
نأخد مثال : أننا أردنا حذف جميع المسافات الموجودة داخل أحد الملفات
نستطيع عملها إما عن طريق البحث يدوياً في الملف وحذف جميع المسافات التي نجدها،
أو أن نقوم بإنشاء سكربت يحتوي على عدد ضخم من الشروط If والتكرارات Loop ونتأكد من كل حرف عن ما إذا كان بجانبه مسافة أم لا،
أما الحل الاخير فهو باستخدام الـ Regex - فبإمكانك بعبارة واحدة بسيطة لاتتجاوز السطر الواحد أن تقوم بجميع ماسبق،
إدن فاستخدامك لهده التقنية يختصر عليك وقتاً وجهداً هائلاً خاصة في التعامل مع النصوص الضخمة،
+ تستطيع استخدام هذه التقنية مع العديد من اللغات مثل : Java, PHP, Python, C, C#, JavaScript وغيرها...   

سنشرح أولا الرموز ودورها الأساسي وبعدها سنضع أمثلة تطبيقية للتوضيح ...

رموز أساسية تستخدم في التقنية :
• الرمز ( "" ) : هذا الرمز يستخدم عندما نريد البحث عن نص معين ...

• الرمز ( ^ ) : هذا الرمز يستخدم للتحقق من بداية النص برمز معين ...

• الرمز ( $ ) : هذا الرمز يستخدم للتحقق من نهاية النص برمز معين ...

• الرمز ( . ) : هذا الرمز يستخدم لجلب أي رمز موجود ما عدا الرمز الذي يشير لسطر جديد ...
• الرمز ( \ ) : يستخدم لتعطيل الرموز المستخدمة في التقـنيـة , ( مثل الرموز السابقة ) او جعل الاحرف العادية كاحرف خاصة مثل الرموز القادمة ...
  
• الرمز ( \. ) : هذا الرمز يستخدم للتحقق من وجود النقطة ...

• الرمز ( + ) : هذا الرمز يستخدم للتحقق من تكرار الشيء الذي قبله مرة أو اكثر ...

• الرمز ( * ) : هذا الرمز يستخدم للتحقق من تكرار الشيء الذي قبله من صفر ( أي حتى لو لم يكن هناك شيء أصلاً ) إلى ما لا نهاية.
و هي تستخدم للبحث عن تطابق يبدأ بحرف معين و ينتهي بحرف معين دون الإهتمام إذا كان يحتوي على شيء بين هذين الحرفين أم لا. 

• الرمز ( \b ) : هذا الرمز يستخدم للتحقق من أن مجموعة من الرموز تمثل كلمة واحدة يعني لا يوجد بينها مسافة 
Boundary (حدود النص)

• الرمز ( \d ) : هذا الرمز يستخدم للتحقق  من وجود الارقام من 0 إلى 9
any digit from 0 to 9
• الرمز ( \D ) : هذا الرمز يستخدم للبحث عن أي رمز  ما عدى الارقام أي هو خلاف الرمز السابق 
Any Non-digit character

• الرمز ( \s ) : هذا الرمز يستخدم للتحقق من وجود مسافة ( Space )
Any Whitespace
• الرمز ( \S ) : هذا الرمز يستخدم للبحث عن جميع الرموز ما عدى المسافة أي هو خلاف الرمز السابق
Any Non-whitespace character
• الرمز ( \w ) : هذا الرمز يستخدم للبحث سواءً عن حروف (صغيرة (a-z) أو كبيرة (َA-z)) أو أرقام (0-9)
Any Alphanumeric character
  
• الرمز ( \W ) : هذا الرمز يستخدم للبحث عن أي رمز غير الحروف والأرقام أي هو خلاف الرمز السابق
Any Non-alphanumeric character  
• الرمز ( x|y ) : هذا الرمز يعني أو ، الترتيب جد مهم
في حالة تغيير الترتيب على هدا الشكل y|x سيتم البحث عن y أولا ثم x
OR

• الرمز ( {m} ) : هذا الرمز يستخدم للبحث عن أي رمز يتألف من m رمز يعني عدد مرات تكرار الرمز 
الرمز يجب تحديده خارج اللامة وتحديدا قبلها
m Repetitions
• الرمز ( {m,n} ) : هذا الرمز يستخدم للبحث عن أي رمز يتألف من m إلى n رمز يعني عدد المرات التي تكرر فيها الرمز من m مرة إلى n مرة 
الرمز يجب تحديده خارج اللامة وتحديدا قبلها
m to n Repetitions
• الرمز ( {m,} ) : هذا الرمز يستخدم للبحث عن أي رمز يتألف من m إلى ما لانهاية من الرموز يعني عدد المرات التي تكرار فيها الرمز من m مرة إلى ما لانهاية 
الرمز يجب تحديده خارج اللامة وتحديدا قبلها 
m to infinie Repetitions 

• ( [...] ) : المعقوفتان يستخدمان للتحقق من وجود أحرف أو أرقام أو رموز،
وعملية التحقق أو البحث داخلهما تتم على التوالي
أي أنه يبحث عن الحرف الأول إدا لم يجده يمر للثاني إدا لم يجده يمر للثالث وهكدا ... 
  
• ( [...^] ) : إدا أضفنا هدا الرمز ^ داخل الرمز السابق فسيتحقق من عدم وجود  أحرف او أرقام أو رموز يعني عكس الرمز السابق ...
• يتم استخدام علامة الناقص ( - ) بين المعقوفتين للتحقق من وجود احد الاحرف بين حرفين أو للتحقق من وجود أي رقم بين رقمين ...

• ( [a-z] ) :  هذا الرمز يستخدم للتحقق من وجود أي حرف موجود من a إلى z (أحرف صغيرة) ...

• ( [A-Z] ) : هذا الرمز يستخدم للتحقق من وجود أي حرف موجود من A إلى Z (أحرف كبيرة) ...

• ( [0-9] ) :  هذا الرمز يستخدم للتحقق من وجود أي عدد موجود من 0 إلى 9 ...
• الرمز ( [\b] )  :  هذا الرمز يستخدم للبحث عن الرمز الذي يشير لسطر جديد  ...
literal backspace character (U+0008)
طريقة الاستخدام :
تستطيع الجمع بين الرموز السابقة لتكوين تعبير نمطي واحد
مثل : [a-zA-Z]*\s[0-9]
او ان نقوم بفصلها عن طريق المجموعات باستخدام الاقواس
([a-zA-Z])(*\s)([0-9])
كما ان كل مجموعة من المجموعات السابقة نستطيع استدعائها عن طريق الرمز $ . 

 أمثلة تطبيقية : 
سأبدأ بأمثلة في لغة c# وبإمكان أي عضو أن يطرح أمثلة بطريقته الخاصة لتعم الفائدة أكثر

c# تدعم Regular expressions عن طريق namespace :
System.Text.RegularExpressions
 في هده الأمثلة تأكد من إضافتك لهده namespace :
using System.Text.RegularExpressions;

 داخل هده namespace توجد كلاس إسمها Regex
https://docs.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex.-ctor?view=netframework-4.7.2#System_Text_RegularExpressions_Regex__ctor
داخل هده الكلاس توجد Methods
 Regex.Match()
https://msdn.microsoft.com/en-us/library/bk1x0726
Regex.IsMatch()
https://docs.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex.ismatch?view=netframework-4.7.2
Regex.Matches()
https://msdn.microsoft.com/en-us/library/b49yw9s8
Regex.Replace()
https://docs.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex.replace?redirectedfrom=MSDN&view=netframework-4.7.2#System_Text_RegularExpressions_Regex_Replace_System_String_System_String_System_String_
 Regex.ٍSplit()
https://docs.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex.split?view=netframework-4.7.2
Match.NextMatch
https://docs.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.match.nextmatch?view=netframework-4.7.2

سنعمل على هده الميتود  Regex.IsMatch() وهي من نوع Boolean ترجع قيمة True أو False
وتتكون من 4 عناصر input , pattern, options, matchTimeout 
سنستعمل في هده الأمثلة فقط عنصرين input و pattern وهما من نوع string


المثال الأول : سنتأكد من أن الكلمة تبدأ ب My

 النتيجة : True


وللتأكد من أن النص ينتهي ب gmail نكتب في pattern


 النتيجة : True
مثال 2 : نترك الكود كما في المثال السابق ونغير pattern
 
 النتيجة : False
ظهر False لأننا لم نحدد ما يوجد بين My و gmail
هل يوجد بينهما حروف ، أرقام أم رموز
First هي في الأصل حروف
سنضع الرمز الخاص بالتحقق من وجود أحرف وهو \w
سنضعه بينهما ونجرب
 
ظهر خطأ يخص Backslashes
هممم عند استعمالنا ل Regular expression في c# الموصى به أن نستعمل @ كلاحق في بداية pattern
-------------- 
When writing regular expression in C#, it is recommended that you use verbatim strings instead of regular strings.
Verbatim strings begin with a special prefix (@) and signal C# not to interpret backslashes and special metacharacters in the string,
allowing you to pass them through directly to the regular expression engine.
This means that a pattern like "\n\w" will not be interpreted and can be written as @"\n\w" instead of "\\n\\w" as in other languages, 
which is much easier to read.
------------ 
هكدا :
 النتيجة : False

لمادا ظهر False ولم يظهر True
لأن \w تتحقق من وجود فقط حرف واحد و First مكونة من أربعة حروف
إدن هل سنعمل هكدا :
 \w\w\w\w
بطبيعة الحال لا سنستعمل رمز + (لقرائة تعريفه إطلع فوق )

  النتيجة : True

مثال 3 : سنغير input
 
و نغير pattern

  النتيجة : True 
ظهر True لأن النقطة تتحقق من وجود أي رمز (characters) بما فيهم spaces
ما عدى الرمز الذي يشير لسطر جديد 
********************* 

بالنسبة للتمارين التطبيقية أنصحكم بهدا الموقع كبداية :
https://regexone.com/lesson/introduction_abcs
لا تحاول أن تقرأ الحل قبل أن تضع مئات المحاولات أمزح فقط بل الآلاف هههه 
  
روابط مهمة قد تفيدك :
W3schol : https://www.w3schools.com/jsref/jsref_obj_regexp.asp
https://docs.microsoft.com/en- us/previous-versions/ visualstudio/visual-studio- 2008/ae5bf541(v=vs.90) : Microsoft
https://regexper.com/
https://regexone.com/  Wiki :  https://en.wikipedia.org/wiki/Regular_expression
 C# : https://www.dotnetperls.com/regexa
https://regexone.com/references/csharp
JAVA : https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/regex/Pattern.html 
 PHP : http://php.net/manual/en/class.regexiterator.php 
 JavaScript : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions 
أي إستفسار أو أي شيء غير واضح المرجو طرحه.
\|/ حياكم الله. \|/ 
.*. بالتوفيق للجميع .*.
 أخوكم عبد السلام.
01:42 - 2019/02/28: آخر تغيير للنص بواسطة abdessalam kilya
عدد مرات تغيير النص: 5
abdessalam kilya
 15:30 - 02/09معلومات عن العضورد على الموضوع بإضافة نص هذه المشاركةأضف رد سريع بإقتباس لهذا الرد

مثال 4 : الرمز (x|y)
 
https://dotnetfiddle.net/UXXjzh
مثال 5 : التحقق من الإيميل
https://dotnetfiddle.net/oDlPaE
مثال 6 : كمثال نريد التحقق من بعض strings أنها عبارة عن مواقع
 
النتيجة :
https://pastebin.com/isFb3eRP
بالنسبة لهدا المثال استعملت الأقواس ودلك لفصل كل جزء لوحده
فكما تلاحظون في الروابط فهناك من يوجد به http أو https أو لا توجد ..
أو من يتكون من www أو لا ..
ففي هده الحالة استعملت علامة التعجب ? التي نسيت أن أشرحها مع الرموز في الموضوع
Characters optional 
فدورها هو التأكد أو التحقق من وجود الرمز الدي يوجد قبلها وجدته أم لم تجده سيتم إكمال pattern
إدن نقول أن علامة التعجب تلغي الرمز الدي قبلها ترجعه optional
-هدا الرمز {w{3 يعني التحقق من وجود حرف w مكرر ثلاث مراة
بإمكان صياغة هدا المثال بعدة طرق وهده واحدة :
 
النتيجة :
 
أو :
 
النتيجة :
 

إدا كان أي استفسار أو أي غموض بخصوص pattern المرجو طرحه ...
تابع القراءة readmore »

رسائل أقدم الصفحة الرئيسية
Twitter Delicious Facebook Digg Stumbleupon Favorites More

A

فتح الدردشة
1
_
مرحبا بك !!! شكرًأ لك على زيارة موقعنا الرجاء فتح الدردشة لإرسال رسالة لمشرف الموقع عبر فيسبوك

Start

RSS تابعني اشترك

 
copyright © 𝟐𝟎𝟏𝟗 A new way to teach and disseminate knowledge in all fields Without a monopoly | Powered by MOHAMMED ER-RAMI