Skip to content

Instantly share code, notes, and snippets.

@shirankrasnov
Last active February 25, 2022 14:49
Show Gist options
  • Save shirankrasnov/981b7931baee94dba58754bffe9239ff to your computer and use it in GitHub Desktop.
Save shirankrasnov/981b7931baee94dba58754bffe9239ff to your computer and use it in GitHub Desktop.
REGEXP
מחזירה 'אמת' אם הערך מתאים לתבנית שהוגדרה
true
<subject> REGEXP <pattern>
REGEXP_REPLACE
מחזירה את הערך הנבחר עם החלפה של התבנית שהוגדרה בתחליף שהוגדר, אם אין התאמה מחזירה את הערך המקורי
REGEXP_REPLACE( <subject> , <pattern> [ , <replacement> , <position> , <occurrence> , <parameters> ] )
REGEXP_COUNT
מחזירה את מספר הפעמים שדפוס מתרחש במחרוזת
REGEXP_COUNT( <subject> , <pattern> [ , <position> , <parameters> ] )
REGEXP_SUBSTR
מחזירה את מחרוזת המשנה שהתבנית שהגדרנו מופיעה בתוכה, אם אין התאמה מחזירה null
REGEXP_SUBSTR( <subject> , <pattern> [ , <position> [ , <occurrence> [ , <regex_parameters> [ , <group_num> ] ] ] ] )
REGEXP_INSTR
מחזירה את המיקום של התבנית שהגדרנו בערך המחרוזת, אם אין התאמה, מחזירה 0
REGEXP_INSTR( <subject> , <pattern> [ , <position> [ , <occurrence> [ , <option> [ , <regexp_parameters> [ , <group_num> ] ] ] ] ] )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment